I understand that trying to capture home button clicks is a hack, but
I need to atleast close my current activity when the user clicks on
home button.
Is there anyway I can tell the system to close this activity is the
user clicks on home button? If so how can I do that?

I need to do it as I am listening for location updates and I want to
stop the updates and also need to trash any location that was
available to me previously.
I need to do this just in case any user while in that activity clicks
on home button and changes the location settings.

Thank you

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

Reply via email to