Hi all!

A quick question - is there a way to determine if an activity is
visible to the user or not? I'd like to display a notification to the
user but only then when the user is not seeing any of my Activities.

I figure that one possibility is to raise a flag in onResume() and
lower it in onPause() but it's not the best solution for me (since the
app has  way too much Activities in total and implementing this in
every one of them "manually" seems like a silly thing to do)

Tauno

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to