M mr.A2 New Member Aug 16, 2019 #1 hi is there a way to turn on gps automatically without going to location setting? i mean turn the gps on using a button in the app
hi is there a way to turn on gps automatically without going to location setting? i mean turn the gps on using a button in the app
E emexes Expert Licensed User Aug 16, 2019 #2 I think no. Google is a bit touchy about apps that non-explicitly gather users' personal information. Check the first code block of this post: https://www.b4x.com/android/forum/threads/gps-tutorial.6592/ The post is almost a decade old, but: I just double-checked that the LocationSettingsIntent still works (yes) and I used the RuntimePermissions CheckAndRequest with GPS last week, so that's working too. Last edited: Aug 17, 2019 Upvote 0
I think no. Google is a bit touchy about apps that non-explicitly gather users' personal information. Check the first code block of this post: https://www.b4x.com/android/forum/threads/gps-tutorial.6592/ The post is almost a decade old, but: I just double-checked that the LocationSettingsIntent still works (yes) and I used the RuntimePermissions CheckAndRequest with GPS last week, so that's working too.