lock255 Well-Known Member Licensed User Longtime User Mar 9, 2014 #1 Hello everyone, I am using the GPS library, but I can not get the GPS to activate my device without the need to do it off manually. I would like to turn on and turn off my GPS through code. Do you have any advice for me?
Hello everyone, I am using the GPS library, but I can not get the GPS to activate my device without the need to do it off manually. I would like to turn on and turn off my GPS through code. Do you have any advice for me?
JTmartins Active Member Licensed User Longtime User Mar 9, 2014 #2 Due to restrictions in android imposed by Google, I'm afraid that is not possible. Upvote 0
lock255 Well-Known Member Licensed User Longtime User Mar 9, 2014 #3 This is an application I created for my needs, there's no way to enable GPS automatically? Upvote 0
lock255 Well-Known Member Licensed User Longtime User Mar 10, 2014 #4 I try this library: ToggleLibrary I tried it, but as experienced by almost all users with my device with Android 4.1.2 GPS function does not work. How can I fix? Upvote 0
I try this library: ToggleLibrary I tried it, but as experienced by almost all users with my device with Android 4.1.2 GPS function does not work. How can I fix?
Erel B4X founder Staff member Licensed User Longtime User Mar 10, 2014 #5 Please do not make duplicate posts. See my answer in the other thread. Upvote 0
lock255 Well-Known Member Licensed User Longtime User Mar 11, 2014 #6 I found this code, I would like to know whether you think it can work for basic4android? http://pastebin.com/j3P3ub9X Upvote 0
I found this code, I would like to know whether you think it can work for basic4android? http://pastebin.com/j3P3ub9X
Erel B4X founder Staff member Licensed User Longtime User Mar 11, 2014 #7 It is not possible to programmatically turn on the GPS on Android 4+. Upvote 0
lock255 Well-Known Member Licensed User Longtime User Mar 11, 2014 #8 ok Thanks for your reply. Upvote 0