On Mon, Sep 13, 2010 at 11:16 PM, Rubin <[email protected]> wrote:
>           I am new to android development, My new requirement is find
> Latitude and longitude for current position where device is present.
> how I get this.

Use LocationManager. Register for location updates. Process the
updates when they come in using your supplied LocationListener.
Unregister for updates when you are done.

http://github.com/commonsguy/cw-android/tree/master/Service/WeatherPlus/

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

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