Android Question FusedLocationProvider question

Alex_197

Well-Known Member
Licensed User
Longtime User
Hi all.

I have a question about FusedLocationProvider. I granted permission to use Location in my app, it works fine. Now I have a situation with one phone where GPS itself is turned off (the that under Connections settings). So my code tries to connect to FusedLocation Provider, connection is successful but then nothing happens. No message, no errors.

How can I check if the GPS is turned on and if not - show the message?

Thanks.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
 
Upvote 0
Top