236
Views
6
Comments
Detect Location Settings state on mobile

Hi,


how can I detect location settings state on my mobile phone ?


thanks.

2016-11-20 11-27-52
João Neves

Hi Tobit,

What do you mean by "location settings state"?

Have you checked the Location plugin https://www.outsystems.com/forge/Component_Details.aspx?ProjectId=1395?

2017-06-27 15-30-33
tBt

Hi Joao,


i mean the gps setting. I want to detect if gps setting is on / off.

I've tried location plugin. I install to my device through generated APK, I tried to disable my GPS, then I call the checklocationplugin action, but it returns available, so I assume it only to check if the plugin installed to my device, not about the gps setting on the phone.

2017-06-27 15-30-33
tBt

Hi Joao,


it didn't worked though the plugin is available.

it always recognized as gps is enabled.

UserImage.jpg
Pranam Hegde

tBt if your problem is not yet solved, but if not, try using GetLocation.Success.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Pranam,

You just replied to a topic that's two years old! In general, please don't do that, thanks.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.