Originally Posted by hrbuckley
If the user turned off the GPS, why should an application be able to over ride that decision and turn it back on?
Indeed, in my application when the mobile is switch on then at that time it should read the Longitude and latitude and mail it automatically.
i am able to send mail but when i am going to read the position when GPS is already off then it is creating problem.
so, i have to first check either GPS is on or off, if off then turn it on and read the Lon/Lati
therefor, if any one know the API to turn on the GPS then kindly help me.