How To Enable Location On Android In Program Code?
I would like to enable the location settings on an android machine. In my program I check if the LocationManager lm = (LocationManager) getSystemService(LOCATION_SERVICE); if (!lm
Solution 1:
No you cannot. location information is build into the system, which require permission. Android M currently has "permission" build for each app that can set it when app starts. But if user forcefully turn off GPS then the user has to turn it back on him/herself.
Post a Comment for "How To Enable Location On Android In Program Code?"