On Sat, Oct 15, 2011 at 3:50 PM, Goutom <[email protected]> wrote:
> How do I know my all actvities has finished and I am in home?

Usually, you do not care when all your activities have finished. You
are welcome to maintain your own reference count of activities, but
bear in mind that user navigation may lead them away from the app
(e.g., notification, incoming call) in ways that do not involve your
activities actually finishing.

onUserLeaveHint() will, um, hint to you that the user may have pressed
HOME, though there may be other scenarios in which this method gets
invoked on your activity.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0
Available!

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