How to detect if Location is off

What id done?
I tried to use location sensor with a logic to false
loc

What do you expect
App detect if the user phone location is off, so i can show some prompt option that its required to acesss my food deliver service with a map component

This extention will help you
http://kio4.com/appinventor/285B_extension_activa_gps.htm

3 Likes

the wifi extension will not help you to detect location sensor status…

what about checking, if the property ProviderName of the location sensor contains the string gps?
you also can set property ProviderLocked to true after gps was detected, see also the documentation http://ai2.appinventor.mit.edu/reference/components/sensors.html#LocationSensor
see also the Get AvailableSSIDs example here
https://puravidaapps.com/wifi.php
Taifun

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.