Amazon Ad

Monday, 29 April 2013

Android Phonegap,The last location provider was disabled

Hi All,

I was creating a location based app on android Phonegap using the navigation code, The code was fine as mentioned in Phonegap documentation and was working on my Android phone, But when i tested the app on another android phone (HTC one) i got the error message "The last location provider was disabled".

I managed to solve the problem, Here is the step by step process

Step 1. Go to Settings > Location

Step 2. You need to apply the options

a. Google's location services.

b. GPS Satellite

Step 3. When i tried to run my app after this it was still giving me the same error, But you need to restart the phone. This is very important as the settings require the phone to be restarted. When i restarted the app started working fine and i was able to get the location.

Thanks
Ritesh

No comments:

Post a Comment

Comments are welcome, Please join me on my Linked In account

http://in.linkedin.com/pub/ritesh-tandon/21/644/33b

How to implement Captcha v3 in ASP.NET

 I was facing an issue of dom parsing in my website. I finally resolved it by using Google Captcha V3. Step 1: Get your keys from https:...