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
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