Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

html5 watchposition inconsistent result

Posted on 2014-01-06
4
323 Views
Last Modified: 2014-01-27
Hi,


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
0
Comment
Question by:shahjagat
  • 2
  • 2
4 Comments
 
LVL 52

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.
0
 

Author Comment

by:shahjagat
ID: 39764709
Scott Fell

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

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 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/#/
0
 

Author Comment

by:shahjagat
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,
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Several part series to implement Internet Explorer 11 Enterprise Mode
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

789 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