traccar / traccar-client-android

Traccar Client for Android
https://www.traccar.org/client
Apache License 2.0
668 stars 739 forks source link

Android version is not giving accurate location details #177

Open KumarK80 opened 8 years ago

KumarK80 commented 8 years ago

Hi,

I installed traccar in my iphone and basic android phone. I noticed that the location details provided by iphone is very accurate where as the information provided by android is not accurate. Also in android phone I noticed below:

  1. When I choose the location provider as 'Mixed provider' and set frequency as 10 seconds, it sends location details only 3 times instead of 6. Any reason for this?
  2. When kept in a moving vehicle, it does not always send the latest location details. It sends the same location details in few messages and after a 10 to 15 messages (sometimes even more), it will send the new location. So it is very difficult to track the exact route followed
  3. Is there any minimum ram size and processor speed required to send accurate location details to sever? Am I facing issue (1) and (2) as I am using basic android phone with 512mb ram?

Quick response on this is highly appreciated. Thank you.

tananaev commented 8 years ago

Phone hardware specs don't affect location accuracy, so it should work the same on any device.

I suspect you just don't have a GPS fix, that's why location is not as accurate as on iPhone. Are you sure GPS is enabled? In some cases it might take up to 10 minutes or more to get initial fix.

KumarK80 commented 8 years ago

Hi Tananaev,

Highly appreciate your quick response.

What you mean by ' you just don't have a GPS fix'? I have switched on the GPS by switching on Location and google location reporting in setting.

And sorry, the ram & rom of andorid phone I am using is 256mb and 512mb respectively.

Also which of the 3 options in Location provider provides more accurate information? GPS provider, Network provider or Mixed provider?

Thank you - Kumar

tananaev commented 8 years ago

GPS is the most accurate. Mixed provider is basically a combination of network and GPS provider, so it returns GPS location if you have a signal, or network location (not accurate) otherwise.

KumarK80 commented 8 years ago

Thank you again. I just found out that the android phone I am using has A-GPS (assisted GPS) and not the actual GPS. May be this is causing the issue. Do you think so?

tananaev commented 8 years ago

A-GPS is something completely unrelated to the problem. It basically means that it can download satellite orbits information from internet which makes cold GPS fix faster.

KumarK80 commented 8 years ago

Got it. My knowledge is very limited in this subject.

So do you have any suggestion for me? How can I make sure that every message sent by the app (kept in a moving vehicle) gives exact location of the phone? This is very important to me and trying different things so far but without any success :(

tananaev commented 8 years ago

Note that GPS works only outdoors. I would suggest to test it somewhere without high buildings around or any other objects that can interfere. Wait for at least 10 minutes. Ideally 15-20 minutes and see if accuracy gets any better.