Android how to turn Location services on programatically? : I am building an android app to track my device, is it possible to turn location services on via code?
I have searched for code to do so i have found some and on execution of code it gives some sort of security exceptions, and some threads here on stack over flow were saying that it is impossible to do so, If possible please provide code, if impossible why so?