Using java Syntax Highlighting
- locationManager.isProviderEnabled("gps");
- locationManager.isProviderEnabled("network");
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
If both return false, then I want to enable one or both so that they return true. How do I do that? I've searched the LocationManager API and found nothing. What permissions have to be on to enable / disable these providers? Any help would be great.

