How To Enable Location?

Hello…Please help me

how can i enable location…?

i think he means enable gps

i dont think you can do that maybe you can take them to the gps settings app but not programmatically

I want to enable mobile location :point_down::point_down::point_down:

dont know if there is a difference between gps and location maybe gps can be enabled

as far as I know, not yet…

but we can detect whether the location is on or off
Try this extention

Test on android 6 work…and
Test on android 10 work.

you can’t enable GPS programmatically
but you can ask the user to enable it using the activity starter, see the Get Available SSIDs example here App Inventor Extensions: WiFi | Pura Vida Apps


1 Like