Is there any way to check if the Android GPS is on or off without any permission, just the state I don't need to toggle it.
Thanks
Is there any way to check if the Android GPS is on or off without any permission, just the state I don't need to toggle it.
Thanks
No. Checking GPS Status on Android requires
The code to check the status of GPS
steps -
You require following permission in Manifest file too -
write code
Or simply you can check
run your services continuous to monitor connection
If you want to check the condition of GPS that whether it is ON or OFF, then this solution will help you