Periksa GPS ada di Android

final LocationManager manager = (LocationManager) getSystemService( Context.LOCATION_SERVICE );
if ( !manager.isProviderEnabled( LocationManager.GPS_PROVIDER ) ) {
	buildAlertMessageNoGps();
}
XeN0N