How Nearby Works and How you Can Take Advantage of it

BY GreenBot Staff

Published 13 Jun 2016

Usually to get two Android devices talking to each other you have to monkey around with Bluetooth, log into some app or another, or tap them together, and hope that NFC magically does the rest. It’s a hassle. That’s where Nearby comes into the picture. This criminally underutilized feature of Android, that can allow two devices that are in close proximity to “see” each other exchange data. Neat! But how does it work, and how can you take advantage of it?

How Nearby Works

Nearby is actually a set of Algorithms that are available to developers to implement in apps. On the user side, there’s nothing you need to do other than install, and use apps that happen to implement Nearby. There are virtually no settings to tinker with, either. Nearby is present on all modern Android devices via Play Services, which is updated quietly in the background on a regular basis.

Nearby uses three different signals to determine when two devices are close enough to connect, Wi-Fi, Bluetooth, or audio. The Wi-Fi component doesn’t actually connect two devices directly over Wi-Fi, but it does compare the list of Wi-Fi access points each device can see. If the list is close or both devices are on the same access point, that’s a good sign they’re very close to each other in the real world. Bluetooth contributes by transmitting a special token, which can be seen by other devices using Nearby. Finally, most interestingly, there’s the audio component. Nearby allows phones to emit ultrasonic sound which is imperceptible to humans, but is detected by the microphone on other phones, or tablets. If two devices can “hear” each other, they’re in close proximity.

Apps have to be authorized to use Nearby, you can see a full list of them in the settings.

So, now you’ve established that two phones are close to each other. What does that get you? There are two main Apps supported in Nearby, one for general connections; another for messaging. Then the connections, developers can create collaborative lists, enable local multiplayer games, or even pair two devices for a multi-screen gaming experience. The messaging App does what you’d expect, allowing instant real time messaging between two devices. However, Nearby messaging is not encrypted, so you should not use it for sensitive communication.

You don’t have to do anything during the pairing process, but you’ll have to give the OK the first time you access Nearby functionality in an app. When Nearby is active, a notification provides quick access to the account options on your phone that let you enable or disable Nearby for each installed app that supports it.Android extended Nearby to allow Bluetooth beacons to pop up notifications to apps or web pages. So you might enter a museum, get a notification linking you to an audio tour. United airlines might link you to free entertainment options while waiting at the gate; your Chromecast will smooth out the setup process by popping up a notification to tap on instead of requiring you to type in a setup web address. In this case, you don’t have to actually do anything besides make sure Bluetooth is enabled.

Making Use Of Nearby

To take Nearby for a spin on your phone, you’ll want to grab a few apps that show off the technology. Here are some of the coolest.

Trello is a project manager to-do tracker that’s organized into “boards.” You can create a board for anything you want, in the overflow menu is an option to share a board via Nearby. You can also scan for other boards that are being shared over Nearby from the main screen in Trello.

Pocket Casts is one of the most popular podcast players on the Play Store, it’s always been fast to adopt new technology. In the Explore section of Pocket Casts, there’s a tab for Nearby. This will let you share your podcast subscription list with people around you while they share with you. It’s a cool way to swap subscriptions with friends who also use Pocket Casts.

Thought uses the Nearby messaging App to create conversations in your local area. You can create a profile or just chat anonymously with anyone else running Thought in your immediate vicinity.

Radon is a super-simple sharing app based on Nearby. Simply find a link you want to share select Radon from the system sharing menu. The person you’re sharing the link with needs to have Radon running, but the app quickly spots the device using Nearby. The link is pushed over, and you’re done. No logins or typing necessary.

This is just scratching the surface of what’s possible with Nearby. It’s very cool, but you don’t see enough apps that support it. Hopefully developers pick up the pace start building more proximity-based features with Nearby soon.