html5 watchposition inconsistent result

Posted on 2014-01-06
Medium Priority
Last Modified: 2014-01-27

I want to track my vehicles as well as I want to calculate odometer using web browser which supports html5, I am using watchposition() then I found following results

I am having following devices
Device 1   :  Samsung gt p5113
Device 2   :  HTC 1 mini

to get internet I used hotspot for Samsung gt p5113  as there is no SIM facility available with this tablet and WIFI is not available at my place.

Then I found following result

HTC 1 mini  :   gives accurate result for odometer when I traveled 25 miles
Samsung gt p5113 : there was always inaccuracy in odometer reading

I would appreciate if any one can suggest other way for achieving same goal or reason for above inaccuracy.

Thank you
Question by:shahjagat
  • 2
  • 2
LVL 54

Expert Comment

by:Scott Fell, EE MVE
ID: 39759252
Are you using the exact same service for Cell, internet connection and gps?  I think sometimes the service guesses your location.

Author Comment

ID: 39764709
Scott Fell

Thanks for reply, but I have not understood your comment, can you please elaborate.
LVL 54

Accepted Solution

Scott Fell,  EE MVE earned 1500 total points
ID: 39764846
I believe sometimes the location is based on the cell tower and GPS where the samsung only has wifi so it will not be as accurate. http://www.samsung.com/us/mobile/galaxy-tab/GT-P5113TSYXAR-specs   The HTC has Internal GPS antenna + GLONASS
Digital compass  http://www.htc.com/www/smartphones/htc-one-mini/#/

Author Comment

ID: 39779565
Thanks a lot Scott Fell,

Now I facing one more issue, When I am driving my browser shows good GPS reading for
Latitude, Longitude Timestamp and Speed.

but when I stop Speed does not becomes zero even.

Can any one please suggest me the reason behind it, because I want to show important message like "Vehicle in Motion You cannot operate tablet while driving" based on this speed parameter,

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
This article summarizes the problem of addictive cell phone usage that college students across the country are facing. It covers the issues with obsessive cell phone addiction, reasons why this is happening, and what we can do to solve this problem.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question