Solved

html5 watchposition inconsistent result

Posted on 2014-01-06
4
321 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

Suggested Solutions

Several part series to implement Internet Explorer 11 Enterprise Mode
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

808 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