aspose file tools
The moose likes Android and the fly likes One thing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "One thing" Watch "One thing" New topic
Author

One thing

fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 9950
    
    6

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


Never ascribe to malice that which can be adequately explained by stupidity.
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: 5536

+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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: One thing
 
Similar Threads
JSP Include doesn't work
severance question
George Bush again
New to Servlet
Nested and Inner Class