Do you mean if it is currently considered by Android to be running? If so you can use the following classes:
ActivityManager.RunningAppProcessInfo ActivityManager.RunningServiceInfo ActivityManager.RunningTaskInfo ActivityManager.RecentTaskInfo Note that Android considers paused apps to be running. Hope that helps, Justin ---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ---------------------------------------------------------------------- On Tue, Jan 19, 2010 at 9:36 PM, pradeep <gan....@gmail.com> wrote: > Hi All, > > I have a basic question regarding how to verify whether an application > is lauched or not. > > I am running monkey to test stability of phone. I also want to verify > through monkey or any other > > tool whether a particular screen like contacts, messages is lauched or > not. > > How can I do that. Please suggest if you have any idea. > > > Regards, > Pradeep > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en