> Note that in android you don't actually close activities by choice (I
> know, it's odd) they get closed when the system runs out of
> resources.
Well .... I can always call finish() to close my window's Activity.


My problem is : I have a thread doing things for my Activity.
I am successfull keeping that thread running even when screen
orientation changes (set it as static).
But when my Activity 'disapear'   (back button or other)  I would like
to do some cleaning : clean my thread & temp files.


I need to know when I 'quit' my Activity and when I call onStop()
onDestroy()  only because I have a screen orientation change....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to