So what is the solution if any?
Can somebody share the permissions or code snippet of manifest file.
Cheers,
Sid
On Mar 22, 1:10 am, "Dan U." <[EMAIL PROTECTED]> wrote:
> Could you post what you added for permissions in the manifest?
>
> If the permissions are properly set, there could be an issue with the
> emulator. I know in m3 I had a problem where the gps provider didn't
> always get installed. I never did figure out what caused it.
>
> On Mar 21, 4:35 am, Alex Pisarev <[EMAIL PROTECTED]> wrote:
>
> > For latest SDK it doesn't work even with permissions setup :(
>
> > On Mar 20, 9:52 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
>
> > > You probably don't have permissions set to use gps.
>
> > > On Mar 20, 4:25 am, siddhusingh <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
> > > > How can we mock the gps call in the emulator.
> > > > I am getting null for location variable in the line mentioned below.
>
> > > > LocationManager locationMgr =
> > > > (LocationManager)getSystemService(Context.LOCATION_SERVICE);
> > > > Location location = locationMgr.getCurrentLocation("gps");
>
> > > > Is there any setting which should be specified.
> > > > Cheers,
> > > > Sid- Hide quoted text -
>
> > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Android Challenge" 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-challenge?hl=en
-~----------~----~----~----~------~----~------~--~---