Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

check GPS is on android

final LocationManager manager = (LocationManager) getSystemService( Context.LOCATION_SERVICE );
if ( !manager.isProviderEnabled( LocationManager.GPS_PROVIDER ) ) {
	buildAlertMessageNoGps();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #GPS #android
ADD COMMENT
Topic
Name
2+2 =