Is there a way to tell when my task gets put on the back of the UI 
stack (user pressed "home" say?) I have some resources I'd like to 
free when not foregrounded.

The lifecycle routines seem dicey to use to try and infer this.

The "home" key does not seem to be passed to onKeyDown(), and 
moveTaskToBack() is never called by the system so I can hook it.

I can poll the ActivityManager for running activities with my task 
id, but hard to find a good time to call this.

Thanks

-- Ward

--~--~---------~--~----~------------~-------~--~----~
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