Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

One thing

 
fred rosenberger
lowercase baba
Bartender
Posts: 12087
29
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you could only tell someone ONE thing about starting programming in Android (i.e. the biggest 'gotcha'), what would it be?
 
Nidhi Sar
Ranch Hand
Posts: 252
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
+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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic