Solved

html5 watchposition inconsistent result

Posted on 2014-01-06
4
325 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
[X]
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
  • 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

726 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