On Aug 27, 5:40 pm, GodsMoon <[email protected]> wrote: > I'm writing a back ground app and would like to be able to tell which > app is currently running (actually has focus). > I'm particularly interested in if the Home screen is being shown. > Can anyone help with this?
I got stumped on that too. There is a call that will get a list of what is running and tell if it has user-interactive level of priority, but that's not unique enough - a few things (in call screen for example) keep this even when their window is not visible. Another problem is that latin input method can show up in the list interactive priority, but you don't know what application it is accepting input on behalf of. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

