Switch off GPS programmatically
问题 What i have: Currently my app is giving location through gps. what i want: Gps to turn off automatically after i exit from the application. Because it keeps on telling me the location time and again that looks odd and also gps consume a lot battery. 回答1: Looking at above comment thread it seems its possible to turn OFF GPS programatically (But seeing only 12 Upvotes) But if you switch OFF GPS from your application programatically, what if other applications use GPS Service ? The solution