On Apr 16, 4:02 pm, [EMAIL PROTECTED] wrote:
> How to update my current location from GPS
> I got the current location from GPS with the following method,
> i want to update the my current location
> any body help me how to do it
You have two options, both painful.
1. Request the updates from LocationManager. The updates are sent as
Intent, so you have to register the intent receiver  with
corresponding intent filter.
2. Schedule timer events and query current position using the approach
demonstrated by your code.

BTW, resetting content view may cause unpleasant visual effect with
some implementations.

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to