aspose file tools*
The moose likes Android and the fly likes One thing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "One thing" Watch "One thing" New topic
Author

One thing

fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11229
    
  16

If you could only tell someone ONE thing about starting programming in Android (i.e. the biggest 'gotcha'), what would it be?


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Nidhi Sar
Ranch Hand

Joined: Oct 19, 2009
Posts: 252

Permissions, Permissions, Permissions....

Can't tell you how many times I've been bitten by it. If you are lucky the logcat will give you the reason, but more often than not, code would simple fail without the right permissions in the manifest file.


"A problem well stated is a problem half solved.” - Charles F. Kettering
SCJP 6, OCPJWCD
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

+1 to Nidhi's comment. And the worst part about many examples and tutorials (including the SDK itself) is that they neglect to tell you which permissions are required to get the code to work.

The next thing is to understand layouts, activities, intents and adapters. And understand the activity lifecycle.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: One thing