You can use ActivityManager to query list of running tasks (getRunningTasks(int))
On Thu, Aug 20, 2009 at 2:22 AM, Chris Stratton <cs07...@gmail.com> wrote: > > Is there any way for a backfround task to programmatically detect or > recognize by learned id which application or screen (different > package) is showing? > > I don't really want to resort to analizing a screenshot... > > > --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---