Hi Mark,

> Here is a sample application demonstrating obtaining your location via GPS:
>
> http://github.com/commonsguy/cw-android/tree/master/Service/WeatherPlus/
>
The same thing happen the sample provided by you.
In my device it is not working and in emulator it is working fine
(when I send the lat and long).
I am using eclips Ganymede.

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

I have set all the permission for the GPS in my application.

Waiting for your response.

On Mar 31, 5:50 pm, Mark Murphy <[email protected]> wrote:
> 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 [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

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

Reply via email to