The android system setting screen can be called using the intent. Put the Constant Value: “android.settings.LOCATION_SOURCE_SETTINGS” in the Intent to show the android System GPS Settings.

Code: GPSSettingActivity.java

 

Don’t forget to add permission on android manifest file.

Code: AndroidManifest.xml

 

 

Download Code