At the moment I think I prefer iOS 4's version of "almost-multitasking-sometimes", but we'll see how I feel after I get used to the 'droid way of doing things.
At the moment I think I prefer iOS 4's version of "almost-multitasking-sometimes", but we'll see how I feel after I get used to the 'droid way of doing things.
The idea of processes consuming resources is a mental model people developed on desktop OS's that they need to shed for Android. When each process is assumed to correctly serialize its state and can be killed at any time without consequence, the OS can keep the system perfectly snappy without the user having to worry about it.
This is a user education problem, not a technical problem. This is why android doesn't make it easy to see what processes are actually running.
It doesn't need doing as often as on my old G1, but it needs it. I don't know if that is because I am running cyanogen mod (5.0.8, which is based on 2.1) or what, but you can pry adk out of my cold dead hands. Maybe I have some buggy apps. But adk makes my phone usable.
Android doesn't seem as smart as it supposed to be, but I still like it.
This gives a basic overview of how application activities behave (see the diagram a few lines down):
http://developer.android.com/guide/topics/fundamentals.html#...
It is possible for a badly behaving application to create a thread which would continue to run whilst an activity is not visible.
Take this as a common example for an Android game app framework: http://www.helloandroid.com/tutorials/how-use-canvas-your-an...
Your app may need (implementation specific) to take explicit action (SurfaceView::surfaceDestroyed) to stop the rendering thread before being backgrounded,