Re: [android-beginners] How often does an activity run?

2010-04-19 Thread ~ TreKing
On Mon, Apr 19, 2010 at 1:37 AM, BobG wrote: > But my question is: Does ondraw ever get called again? > Sure, whenever the view needs to be re-drawn ... > Or is this now a 'zombie process' that will just sit there taking up memory > until we kill it? > I don't know what you're asking. Activit

[android-beginners] How often does an activity run?

2010-04-18 Thread BobG
If we run a simple little hello world program that just puts some text in a textview, I see the the onCreate runs, and I guess it calls ondraw once, then it sort of returns to the os, and if we have registered a sensor changed or an onclick listener, we can read the sensor and call invalidate and t