It is most definitely not a "zombie process". A zombie process, by
definition, is one not even the shell command 'kill' can kill. The
process you just described is still able to receive events -- and will
the next time the OS decides to call onDraw.

It is Android that decides when to call onDraw(). However, you can
tell it to do so by calling postInvalidate() or invalidate() as
described in http://developer.android.com/guide/topics/graphics/index.html

On Apr 18, 11:37 pm, BobG <bobgard...@aol.com> wrote:
> 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 the os will call ondraw again, and it
> all is usually 'fast enough'. But my question is: Does ondraw ever get
> called again? Or is this now a 'zombie process' that will just sit
> there taking up memory until we kill it?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow 
> athttp://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to