From: android-developers@googlegroups.com [mailto:android-
> > develop...@googlegroups.com] On Behalf Of optimusgeek
> > Sent: Tuesday, August 10, 2010 8:32 AM
> > To: Android Developers
> > Subject: [android-developers] Re: how can I check my app stopped by which
> > home key or
gt; To: Android Developers
> Subject: [android-developers] Re: how can I check my app stopped by which
> home key or other apps
>
> Thank you all.
> Here is what I'm doing.
> I'd like to register a notification as 'ongoing' when my app being
> invisible by only Hom
gt; To: Android Developers
> Subject: [android-developers] Re: how can I check my app stopped by which
> home key or other apps
>
> Thank you all.
> Here is what I'm doing.
> I'd like to register a notification as 'ongoing' when my app being
> invisible by only Hom
Thank you all.
Here is what I'm doing.
I'd like to register a notification as 'ongoing' when my app being
invisible by only Home key.
but on second thought, It's meaningless as your opinions.
There's not different one app between home screen from application
aspect.
I do not notice that It's all ab
2010/8/8 optimusgeek
> I mean I want to do something when my app going to be stopped.
Yes, I understand that. The question is why do you care HOW you're stopped?
Why does being stopped by one app versus the Home screen (which as Bob
explains is really the same thing) make a difference to you?
W
I should add that while you can supply your own launcher -- you can't
force the user to use it!
Why don't you give up on that idea, and tell us WHY you believe you
want different behavior in those cases. Perhaps we can suggest
alternatives that are more in keeping with the Android model.
On Aug 9
They are NOT two different situations. That's the source of your
confusion.
They are both a different app being in front of your activity. You
mention the call screen and the launcher, but others are possible as
well.
Once your activity is no longer visible, onStop() is called. If it
later become
Can you try to use the correct terminology. The onstop method is for an
activity. If you can get that, maybe you can try to answer treking's
question.
On Aug 8, 2010 8:59 PM, "optimusgeek" wrote:
I mean I want to do something when my app going to be stopped.(not
destroyed)
and the situations are
I mean I want to do something when my app going to be stopped.(not
destroyed)
and the situations are two cases as I mentioned.
#1 pressing home key
#2 another app comes to front like an incoming call.
both cases have same process onPause() -> onStop()
so I cannot put some codes in onPause or onStop
9 matches
Mail list logo