Hi All I am developing an alarm based application in which a broadcast receiver is set, i want to show a notification in the notification bar for alarm and i have done that but my problem is i want to show a notification on notification bar only if "no other Activity is on foreground, if any Activity is in foreground i will create an activity and show above it about alarm and i have many activity in my application".
So Plz help me find out how to know my application is in foreground or it is stopped/closed. Thanks in Advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en