I used example from here, run it on my Galaxy Tab but have no changes for 20 minutes.. Where can the problem be?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In you example, the location updates are requested this way :
First, this only uses the GPS location provider, whereas Google Maps uses any available location sensor (GPS, Wifi, etc.). In order to use the GPS, you must be able to receive the signal from the satellites, so place your device next to a window or even better, outside.
In the status bar, the dish icon flashes intermittently when searching and continuously when it has a fix. You can check more precisely the status of the GPS fix on your phone with an app like this one : https://play.google.com/store/apps/details?id=com.eclipsim.gpsstatus2
Second, the
10fvalue for theminDistanceparameter tells the system to only give you updates when the location has moved more than 10 meters ; so if the GPS thinks you stay within a 10m radius of your first location fix, it will not bother you with new positions.