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
2022-12-31 15:09:18
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
下一篇:安装虚拟机&Linux命令学习