Issue with speed refresh using Ketai Location

edited November 2013 in Android Mode

I wonder if some of you guys have got into this situation. An android app developed using Ketai´s library, works fairly well as far as providing coordinates, however the refresh of the variable speed is so irregular in Android´s versions 4.x.(Nexus 7 Android 4.3) The same application in Android 2.3 (Samsung Galaxy SII Android 2.3.4) refreshes speed every 1 second which is reasonably OK for my purposes. (Although 0.5 sec would be better. By the way, v9 update rate parameters is not working for me either) I have tested this on two different versions of Ketai´s library v8 and v9 with the same results.

void onLocationEvent(Location _location)
          {
            //print out the location object
            longitude = _location.getLongitude();
            latitude = _location.getLatitude();
            altitude = _location.getAltitude();
            accuracy = _location.getAccuracy();
            speed = _location.getSpeed();
            bearing = _location.getBearing();
          }

Please if somebody can give an input on this issue, I will very much appreciate. Rodrigo

Sign In or Register to comment.