On Wed, Mar 6, 2013 at 8:16 AM, dnk <dnkou...@gmail.com> wrote:

> Use
> http://developer.android.com/reference/android/app/Activity.html#onUserLeaveHint()
>
> Gets called only when the user has decided to leave instead of another app
> coming in the foreground.
>
>
Thanks, I had no idea this exists.  Looked promising at first, however on
second thought this won't help me probably as the tasks I need to perform
(stop threads, music, save data, ...) must be done whether leaving the app
is a user's decision or not.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to