I recently launched my first iPhone app, and it seems like people in the Android community are asking about this ... so I started development with the SDK.
The first thing I noticed was that in my iPhone application I would save certain session variables in appDelegate. Since I don't have this structure in Android, I'm curious how Android developers track the state of the application through the application (hope you get a ton of single objects?)
If the single-user approach to the object is how most developers do it - how can I guarantee that the application starts in a clean state every time the user clicks the home button and clicks the icon again (is there something I can add to your manifest to ensure it doesn't support multitasking this way?)
My application has a lot of session-specific state, and for the first iteration, multitasking is not yet supported :(
source share