Can't get speed and heading at iPhone

You must Login before you can answer or comment on any questions.

Hi,

I want to develop an app to store users coordinates with speed and heading every 50 meters, but I have some problems.

First problem is that I can't get speed or heading from the location object even I can get latitude, longitude and timestamp. The values for speed and heading are both -1.

Other problem is when I define

Titanium.Geolocation.distanceFilter = 50;

It doesn't work every 50 meters.

Do you suggest any solutions to these?

1 Answer

Your Answer

Think you can help? Login to answer this question!