I think onPause is called.  It will be hard to only close your
activity in response to Home key presses, but I think you can get it
to call finish in all cases where the Home button is pressed.

On Mar 25, 11:52 am, paladin <quoti...@gmail.com> wrote:
> I saw another thread related to this question, but did not find the
> answer that was useful to me. Is it possible when the user presses the
> Home button to be able to finish() my activity somewhere? I saw that
> people were having problems with using onStop(). Has anyone found a
> resolution to see if this is always called on Home being pressed?

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to