I'm trying to use the getSpeed() method in the location API. However, the only value I ever get returned is "NaN". According to the JavaDocs, this is returned when speed cannot be calculated. At first I thought this was because I was moving too slowly, but this has since proven to be incorrect, as I get NaN returned no matter what speed I'm moving at. Has anybody ever successfully used this method, or do i have to calculate the speed myself?
Btw, the phone I'm using this on is the Nokia N95. All the other methods, like latitude and longitude work, just not speed.

Reply With Quote


