Hi,

I want to unregister my location listeners whenever the app is hidden
by another application. I cannot use the onPause() hook in my main
activity, because that hook will also be called when an activity of my
app is hidden by another activity of my own app (in which case I do
not want to disable location listeners -- going through a disable/
enable cycle for two location listeners is pretty expensive).

In other words, is there a thing like App.onPause(), which gets
triggered when the whole app is paused (i.e., no activities of the
same app are visible anymore), e.g. when bringing up the home
application or when a call comes in?

Thanks,
Matthias
--~--~---------~--~----~------------~-------~--~----~
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