-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting latitude and longitude 0.0 #22
Comments
|
|
First, you should be able to safely remove the Second, the additional call to Otherwise, this looks good. But why don’t you implement the Last but not least, you should try the extended arguments of the constructor, again, as shown in the README. For example, try replacing location = new SimpleLocation(this); with location = new SimpleLocation(this, true, false, 5 * 1000, true); and see if that helps. It should attempt to update the location every 5 seconds. |
If the location is previously on while running the application first time, it's picking the latitude and longitude.Then if I close the app and turn off the location, while opening the app for the second time its navigating to settings to turn on location but after location is on it is unable to pick the latitude and longitude. I am getting 0.0 for both.
The text was updated successfully, but these errors were encountered: