Thanks Murphy and Hackborn. I think I found the answer.
http://developer.android.com/reference/android/app/ActivityManager.RunningTaskInfo.html#topActivity On Aug 24, 7:04 pm, Call_Waiting <[email protected]> wrote: > killing theservice= turning off my app > > But my app works, and I can turn it off from the activity. I'm just > need a check to see when to trigger it. > > I think Hackborn is on the right track with getRunningAppProcesses(). > > The first time you start my app - input your settings, one of these is > an app which you want to auto-start when you start my app. > Any other time you never see my app, or the settings. - Unless you > press back button, then you get back to my app's settings. > When your in someone else's app, theirs not away to trigger when you > have left that app. So that's what we are trying to find, the > trigger. > > If anyone has more info on some example about implementing > getRunningAppProcesses(). It would be much appreciated. > > On Aug 24, 5:58 pm, Frank Weiss <[email protected]> wrote: > > > > > What does "turning off my app" mean? -- 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

