Android Question Location services

jefflynn1974

Member
Licensed User
Longtime User
Hi,

Is there any way to check the Location services are enabled? I would like to know that apps are being allowed to use location datas.

Thanks!

Jeff
 
First of all thanks for your reply. Your advices not exactly matched to my conceptions so I used another solution. You can see it below.

Code: Copy
Dim p as Phone

p.GetSettings("location_providers_allowed")

I got back "GPS" or "network" or "network,GPS" modes so I could decide from these that the Locaion service function is permitted or not.
 
Upvote 0
Back
Top