Activity will be paused on pressing Home button. OnStop() function is
also being called when we press the Home button.

On May 30, 1:38 pm, Dianne Hackborn <[email protected]> wrote:
> Well first of all, pressing the home button does not close the app...
>
>
>
>
>
>
>
>
>
> On Mon, May 30, 2011 at 1:37 AM, Droid <[email protected]> wrote:
> > I have a workflow of about 15 activities. When a user presses the home
> > button to close the whole app I cannot find a way of determining if
> > the home button has been actuated that would allow me to stop a timer
> > thread.
>
> > I have tried using life cycle methods (onStop(), OnStart() etc) to no
> > avail because they are always stopping and starting when the app is
> > running correctly anyway and I do not know the activity being viewed
> > at the time of actuating the home button either.
>
> > I know there are many posts about this issue, but nevertheless I
> > cannot seem to solve it.
>
> > --
> > 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
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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