Gps off

Post your questions and help other users.

Moderator: Martin

Post Reply
Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Gps off

Post by Ankit Bindal » 15 Feb 2016 02:34

Hi,
Set gps state off not working on android 5.0

Gps state on works perfectly.

kamil_w
Posts: 50
Joined: 22 Oct 2013 19:01

Re: Gps off

Post by kamil_w » 15 Feb 2016 09:20

It works corectly. Location system has changed a little in Android 5.
When you are turning on GPS then location daemon is turning on. When you are turning off GPS then location daemon is being set to use WiFi and mobile network as location provider.
You have to find a way to enable/disable whole location daemon instead of just GPS.

I think you can make it using Set System Setting action.

Edit:
Or better solution
instead of on/off gps use both actions:
Set gps state
set network location state

Mar
Posts: 49
Joined: 20 May 2015 23:24
Location: Germany

Re: Gps off

Post by Mar » 15 Feb 2016 11:37

But you'll need a rooted device.

TraianC
Posts: 66
Joined: 24 Oct 2014 13:29

Re: Gps off

Post by TraianC » 16 Feb 2016 02:29

I don't have a rooted device and I use Control UI action to enable/disable GPS when I start/stop Waze.

Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Re: Gps off

Post by Ankit Bindal » 17 Feb 2016 15:27

Thanks kamil.
It worked.

Post Reply