Is there any way to get Fast (5 milliseconds) location updates in Android..?

Viewed 5833

I'm using Fused Location Provider library in android. It is working perfectly fine. But I've an issue with it, it returns location updates in 5 sec minimum.

I've tried every thing like setting minimum updates time to 1 millisecond, and distance to 0.01 meter and Priority to PRIORITY_HIGH_ACCURACY

My code :

locationrequest.setInterval(1); // 1 milliseconds locationrequest.setSmallestDisplacement(0.01f); // 0.01 meters locationrequest.setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY);

But no use, still minimum time between two successive location updates is 5 seconds.

My Questions is : Is there any way to decrease location updates time to 5 milliSeconds ?

-> I need location updates for only 10 minutes, So no issue with the high battery consumption.

-> I need any way (possible): Is there any external hardware available, which connects via Bluetooth and send location updates upto that level ?

Edits:

Let me ask you a different question : What can be the minimum possible time for location updates and how to achieve that ?

Let's say i want to track a car, which is moving with the speed of 400 KM/h, means 5 meter in about 50ms. So can you suggest any better way to track this car ?

1 Answers
Related