How to get one-meter location-accuracy from Android devices (Google I/O '18)

Android Developers · 76K views · 2018 · 39:28

Open on YouTube

Embedded systems & DIY electronicsConsumer devices & gadgetsSoftware (other)talkdated

Why Stack Overflow recommends it

Stack Overflow users link it when asked how to get location accuracy better than the 5 to 15 meters typical of FusedLocationProvider, or how WiFi RTT (802.11mc) enables indoor positioning.

Recommended by 1 people across 1 different months, 2018 to 2019.

What it is

A Google I/O 2018 session from the Android team on how developers can reach roughly one-meter location accuracy on Android phones. It covers outdoor GPS improvements, indoor WiFi RTT positioning, API details and timelines, and closes with a live indoor navigation demo.

Cited in 1 Wikipedia article, including Roy Want.

What people said

Recommends moises · 2019-04 · Stack Overflow · on “Is there a way to get a constant accuracy of 5-10 mts?”

No problems with your area. There is a limitation in the set of technologies involved. In Google I/O '18 google engineers presented [this video] strategies to get 1 meter of precision with the location services. This article [LINK] also comments on the same approach.

Cites Sterling · 2018-06 · Stack Overflow · on “API to detect distance between Wear watch & Android phone?”

The best that's directly supported by the platform is the Node API's isNearby method [LINK] , but that essentially just returns true iff the phone-watch connection is over Bluetooth rather than cellular or wifi. It doesn't give you anything resembling a real distance number. Beyond that, you'd have to roll your own solution using GPS on both devices, as you mention. But that has a lot of downsides: complexity, reliability, and battery use are ones that immediately occur to me. Someday, you'll be able to get this kind of accuracy from the fused location provider using wifi [this video] , but probably not for some years.

Cites Neo Jou · 2019-09 · Stack Overflow · on “Calculate distance between 2 access points”

This method is usually called RSSI-based WIFI indoor positioning. Recently, AI is used to improve the accuracy, meanwhile, it's still hard to get accuracy in centimeters in this way. Last year, Google Android tried to achieve 1 meter accuracy, and Wifi RTT (round time trip) (or called FTM (fine time measurement) or 802.11mc) is used for this. [LINK] [this video] [LINK] FYI.

Cites Alex Ward · 2019-09 · Stack Overflow · on “How can I get greater than 1m position accuracy with android FusedLocationProviderClient?”

I'm trying to create an android app that gives accurate location (1m or less) indoors. It seems the recommended way is to use the a FusedLocationProviderClient [LINK] However the current horizontal accuracy I'm getting is between 5m and 15m for longitude and latitude while the vertical accuracy is often up to 50m out. Not sure if it makes a difference but the the test device is an HTC U11? I've updated google play service location com.google.android.gms:play-services-location:17.0.0 I've included android.permission.ACCESS_FINE_LOCATION in my app manifest and locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY); in the location request. I've got some code in there which turns t