![2 GPS utility methods 2 GPS utility methods](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
Methond 1 is to check whether the GPS is on:
1 |
public boolean isGPSIsOn() { |
Method 2 is to open GPS setting page in Android device:
1 |
public void openGPSSettingPage() { |
Codes in Github : https://gist.github.com/Viyu/9406327
Methond 1 is to check whether the GPS is on:
1 |
public boolean isGPSIsOn() { |
Method 2 is to open GPS setting page in Android device:
1 |
public void openGPSSettingPage() { |
Codes in Github : https://gist.github.com/Viyu/9406327