xamarin - Track GPS Route accurately Android -


i writting application tracks users real time location , show on map. results seeing not satisfactory. when compare app others present on play store difference lot.

here things have tried far: (just in case using xamarin build application)

i have earlier used fused location api, gave of deviation users current location. so, tried location manager using gps_provider. using accuracy increased lot still not perfect.

below code using location manager:

protected void createlocationrequest() {             if (locmgr.allproviders.contains (locationmanager.gpsprovider) && locmgr.isproviderenabled (locationmanager.gpsprovider)) {                 locmgr.requestlocationupdates (locationmanager.gpsprovider, 3000, 2, this);             }          }  public void onlocationchanged (location location)         {             console.writeline ("onlocationchanged");             if(location != null && location.accuracy <= 20){                 drawpath (location);             }         } 

below screen shot of application:

enter image description here

below screenshot of app playstore

enter image description here


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -