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

