Android Question Turn GPS ON like Uber or Bolt

apty

Active Member
Licensed User
Longtime User
I have seen apps like Uber or Bolt be able to turn on location service by using a button as shown on screenshot instead of sending user to settings screen. How can i do the same in B4A?
 

Attachments

  • Screenshot_20191124-145319_Google Play services.jpg
    Screenshot_20191124-145319_Google Play services.jpg
    288.2 KB · Views: 294

Cableguy

Expert
Licensed User
Longtime User
Hi Erel,
It is possible on taxi hailing apps e.g Uber

There is also a tutorial on the link below that shows how it is done, can we have the same code in B4A?

http://www.digitstory.com/enable-gps-automatically-android/
The article is almost 3 years old!
A lot has changed in the last few android updates, and most, if not all, features that involve personal information, GPS included, must now be "human approved"
 
Upvote 0
Top