On Tue, Aug 24, 2010 at 8:09 PM, Call_Waiting <[email protected]> wrote: > I'm just trying to check from a service what's on the top of the > activity stack
You assume there is one activity stack. Each task has a stack: http://developer.android.com/guide/topics/fundamentals.html#acttask You have no control over what tasks the user is using, because, like it or not, users can do what they want. > because the app starts another app instantly in > onCreate() onCreate() of...an activity? a service? a SQLiteOpenHelper? a ContentProvider? something else? > I'm looking to kill my service > automatically without having to comeback to my program at all. Why is there a service in the first place? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- 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

