03-18-2013 01:58 AM
I am developing an app that requires location services permission. I have succeeded with retrieving the device's latitude and longitude. if the location services are turned off or on, by the user while using the application, I can detect the state of it (On or Off). But when the permission is changed to On while using the app, I couldn't get the device's lat and lon. If I restart my app I can get those values. Is it compulsory to restart my app..? OR Is there any way to get those lat and lon when the location services are turned on....!
03-21-2013 04:13 PM - edited 03-21-2013 04:38 PM
You should be able to restart your position updates without restarting your app. If you are using the C++ API (QtLocationSubset) see my replies in this post, they may help with your situation.
Regarding not getting position updates on the device, are you trying to get satellite (gps) updates, and if so, does your device have a clear view of the sky?