Note that there are some explanatory texts on larger screens.

plurals
  1. POIs there any way to get Fast (5 milliseconds) location updates in Android..?
    primarykey
    data
    text
    <p>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 <strong>5 sec minimum</strong>. </p> <p>I've tried every thing like setting minimum updates time to 1 millisecond, and distance to 0.01 meter and Priority to <code>PRIORITY_HIGH_ACCURACY</code></p> <p>My code :</p> <p><code>locationrequest.setInterval(1); // 1 milliseconds</code> <code>locationrequest.setSmallestDisplacement(0.01f); // 0.01 meters</code> <code>locationrequest.setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY);</code></p> <p>But no use, still minimum time between two successive location updates is <strong>5 seconds</strong>.</p> <p>My <strong>Questions</strong> is : Is there any way to decrease location updates time to <strong>5 milliSeconds</strong> ?</p> <p>-> I need location updates for only <strong>10 minutes</strong>, So no issue with the <strong>high battery consumption</strong>.</p> <p>-> I need any way (possible): Is there any external hardware available, which connects via Bluetooth and send location updates upto that level ?</p> <p><strong>Edits:</strong></p> <p>Let me ask you a different question : <strong>What can be the minimum possible time for location updates and how to achieve that ?</strong></p> <p>Let's say i want to track a car, which is moving with the speed of 400 KM/h, means <strong>5 meter</strong> in about <strong>50ms</strong>. So can you suggest any better way to track this car ?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload