Vaikunth wrote:
> I have turn on the Security & Location.
> And checked Use Wireles Network and Enable GPS satelites.
> 
> When i start Google maps app it shows me my location also.
> So how can I get my latitude and longitude in my application?

Assuming you have the proper permissions in your manifest, it should
just work.

Here is a sample application demonstrating obtaining your location via GPS:

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

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

Android Development Wiki: http://wiki.andmob.org

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to