The GPS settings can no longer be controlled directly by apps. They
changed this a while ago now.


On Nov 6, 11:25 pm, Nemat <[email protected]> wrote:
> Hi ...
>
> Thanks for your reply....
>
> Actualy I have tried using these lines:
>  locationManager.removeUpdates(locationListener);
>                           locationListener=null;
>                          locationManager=null;
>                          Intent intent = new Intent
> ( Intent.ACTION_PROVIDER_CHANGED );
>                                 sendBroadcast(intent);
>
> But it doesn't work......I mean I tried to null the locationListener
> and location manager.But icon still appears.is there any way to
> disappear this icon???
>
> Thanks in Advance
> Nemat
> On Nov 6, 11:22 pm, Jeffrey Blattman <[email protected]>
> wrote:
>
>
>
> > my understanding is that there is no public API to do that. there are
> > apparently undocumented ways to achieve this. sorry i can't be more helpful.
>
> >  qr-gmail.png
> > < 1KViewDownload
>
> > On 11/6/09 12:06 AM, Nemat wrote:
>
> > > Hi,
>
> > > How can we disable GPS programmatically?
>
> > > Thanks in advance
> > > Nemat
>
> > --

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to