iam implementing an speedometer and try to get the current speed of the device.The idea is as soon as the device is moving i want to display the speed. Even with the following settings, i notice a latency of a second until the actually speed is displayed:
locationRequest = new LocationRequest();
locationRequest.setInterval(500);
locationRequest.setFastestInterval(500);
locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);
At decreasing speed the app jumps from 30 to 20 without showing 24 or 26 etc. Is it possible to get the same result in questions of latency and accuracy as a real speedometer?