Starting Android Development -- READ THIS FIRST

activity_lifecycle

After releasing a couple of products into the Android marketplace you get a little more familiar with the OS and framework. Looking back you start to realize that Android has a number of methods and tools that, if you took the time to learn them first you would have saved yourself a ton of time. Search after search related to problems I ran into always seemed to direct me to one page. The page didn't always have the answer to your problem but more than once it indicated that maybe I'm asking the wrong question in the first place!

Well here it is the single most important page in the entire Android framework!

http://developer.android.com/guide/topics/fundamentals.html

I can't stress this enough. Read this page in its entirety. When you are finished go back to the start and read it again. Don't do any coding until you understand how your program gets executed!