Friday, June 10, 2011

[android-developers] Re: How can I know when the home button has been pressed?

My thread is a timer thread that brings my activity back to view after
the home button is pressed. I need to cancel it when home button is
pressed.
(I have 10 activities and no idea in which activity the app was when
the home button was pressed)

On Jun 8, 1:23 pm, TreKing <treking...@gmail.com> wrote:
> On Wed, Jun 8, 2011 at 1:34 AM, Droid <rod...@gmail.com> wrote:
> > I have a thread that needs specifically to be cancelled when the
> > home button is pressed.
>
> Perhaps if you explain why you think your thread needs to be specifically
> canceled on pressing Home you can get an answer that helps you fix your
> actual problem and not hack around it.
>
> --------------------------------------------------------------------------- ----------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment