As I've said, relying on these functions for control flow will not be robust.
And that isn't even mentioning what happens tomorrow when... say... we add support for multiple running activities at a time. Which one is the "top" then? On Tue, Aug 24, 2010 at 5:32 PM, Call_Waiting <[email protected]>wrote: > This is what I found from in my researching > (ActivityManager.RunningAppProcessInfo) too. Hackborn I think your on > the right train of thought. > > I just want to peek() at the top of the Activity Stack. So I know > when the user has left the app that my app started. Currently you > have to go back to my app to turn it off, I'd like it just to cut off > by itself. > > My app starts my service and then starts a 3rd party app, previously > selected from the list of apps installed on that device. This is all > done within onCreate(). > So you don't even see my app except the first time you run it. - To > put in your settings. > Or if you hit the back button. - To change the already existing > settings. > > Does any know of any examples of how to implement RunningAppProcess ? > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

