I get gps location information and display it on google maps using the Javascript API via WebView. I noticed that the location information is not very accurate, although I use EnableHighAccuracy as true. I also notice that the google maps application in android can pick up a location many times faster than my application, and it can also show the location more accurately.
How is this possible? Both applications use the available A-GPS information on Android and are displayed on the same map.
Any thoughts on this. Also any suggestions on how I can improve accuracy.
Update. Using location information through Javascript and WebView on Android shows my current location at least 2-5 miles from where I am now. However, the google maps app in android can identify the building I'm sitting in now. Also, the Google Maps application displays this location after 2-5 seconds, where, since web browsing takes more than a minute, it still gives an inaccurate location.
source share