On Wed, Jun 22, 2011 at 8:58 PM, Nadeem Hasan <[email protected]> wrote:

> You are running this in the emulator right? The emulator does not have GPS
> hardware (duh) so the only way for the Location api to return a location is
> to provide it to it via adb as you just found out.
>
> On the other hand if you are running on an actual device, no idea. Make
> sure GPS is turned on and getting a fix?
>
> --
> 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



You click on the DDMS of eclipse.Then find there is emulator control, then
there is option Location control, then find the Manual tab and pass the lat
and long manually for current location.
-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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