Articles → ANDROID → Check If Gps Is Enabled In Your Mobile Or Not Using Android
Check If Gps Is Enabled In Your Mobile Or Not Using Android
Code
LocationManager locationManager = (LocationManager) MainActivity.this.getSystemService(Context.LOCATION_SERVICE);
boolean GpsStatus = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
Posted By - | Karan Gupta |
|
Posted On - | Thursday, August 29, 2019 |