I'm just trying to check from a service what's on the top of the
activity stack, because the app starts another app instantly in
onCreate(), from previous settings.  I'm looking to kill my service
automatically without having to comeback to my program at all.  So I'm
just looking for a way to peek() at the Activity Stack, or another way
about it.

On Aug 22, 2:13 pm, Kostya Vasilyev <[email protected]> wrote:
> The OP didn't specify whether he needs to track activities of other apps, or
> his own.
>
> If it's his own activities, it could be as simple as tracking state changes
> in activities' onStart/onStop or onResume/onPause. More reliable, too.
>
> --
> Kostya Vasilyev --http://kmansoft.wordpress.com
>
> 23.08.2010 1:00 пользователь "Chris Stratton" <[email protected]> написал:
>
> I had something sort of working once, but it kept doing things like
> reporting an ime as the foreground, rather than the activity it was
> accepting input on behalf of... which made it useless for my purpose.
>
> On Aug 22, 4:29 pm, Dianne Hackborn <[email protected]> wrote:
>
> > Note that these methods are very...
> > On Sat, Aug 21, 2010 at 11:35 PM, Pent <[email protected]> wrote:
> > > > Does anyone know how to...
> > > [email protected]<android-developers%2Bunsubs
> > >  [email protected]><android-developers%2Bunsubs
>
> [email protected]>
>
>
>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en...
> > [email protected]
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private suppo...

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