How to check if GPS is on, on Android phone before running GPS Function
Posted: May 23rd, 2018, 7:25 pm
Hallo,
I realized that to run the GPS function, the GPS android option has to be set to on. Can anyone share with me a code that will first check if the GPS is on, on the mobile phone before running the GPS function. If the GPS is not on then it should notify the enumerator to put on the GPS on the phone.
Kindly help.
I realized that to run the GPS function, the GPS android option has to be set to on. Can anyone share with me a code that will first check if the GPS is on, on the mobile phone before running the GPS function. If the GPS is not on then it should notify the enumerator to put on the GPS on the phone.
Kindly help.