A registered LocationListener object is triggered (onStatusChanged function) when location provider status changes. I don't know if this is the only way to manage that but you can give it a try.
On 1 sep, 11:55, Ernest <[EMAIL PROTECTED]> wrote: > In the new SDK,the api 'LocationManager.getProviderStatus(String > provider)' is removed.So how to get the location provider's status? > I found that the constants 'AVAILABLE,OUT_OF_SERVICE , > TEMPORARILY_UNAVAILABLE ' are still in LocationProvider of new > SDK ,but how to use them?Thank you very much. --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

