In addition to Al's suggestions, you might also want to look at Activity.onWindowFocusChanged.
On Jul 19, 7:43 pm, Al <[email protected]> wrote: > You can use the onStart/Resume/Pause/Stop to know when your app is > visible or in the background. > > > > hen wrote: > > Hi all, > > > Could I get information from ActivityManager that activity is > > displayed ? > > > I can see log in adb, how do I retrieve this in app, thanks ? -- 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

