Connectivity guides

Your app can connect with the outside world using a variety of different communication technologies, including Wi-Fi, Bluetooth, and USB. The guides listed below cover adding support for these technologies and for optimizing your app for connectivity.

Supported technologies

Android supports the following protocols and frameworks for connecting your device to the outside world.


Networks: Overview

Overview of guides that cover performing various network operations, including connections, management, parsing XML, monitoring, and more.

Networks: 5G

Take advantage of 5G networking.

Networks: VPN

Develop and test your own virtual private network (VPN) client for an Android-powered device.

Networks: Wi-Fi scanning

Get a list of Wi-Fi access points visible from a device.

Networks: Wi-Fi Direct (P2P)

Connect supported devices directly to each other without an intermediate access point.

Networks: Wi-Fi Aware

Enable devices running Android 8.0 (API level 26) and higher to discover and connect directly to each other without any other type of connectivity between them. Also known as Neighbor Awareness Networking (NAN).

Networks: Wi-Fi Round-Trip Time (RTT)

Measure the distance to nearby RTT-capable Wi-Fi access points and peer Wi-Fi Aware devices.

Networks: Wi-Fi local-only hotspot

Enable apps on devices connected to a Wi-Fi hotspot to communicate with each other.

Bluetooth: Overview

Overview of Android Bluetooth support, including basics and key classes and interfaces.

Bluetooth: Bluetooth Classic

Set up baseline Bluetooth connectivity on your app.

Bluetooth: Bluetooth Low Energy (BLE)

Transfer small amounts of data between nearby devices and interacting with proximity sensors.

Bluetooth: BLE Audio

Receive high fidelity audio without sacrificing battery life, and let users seamlessly switch between different use cases.

Near Field Communication (NFC)

NFC is a set of short-range wireless technologies, typically requiring a distance of 4 cm or less to initiate a connection.


Manage audio and video calls, including eSIMs and SIM cards.

Ultra Wideband (UWB) communication

Measure precise ranging between devices.


Use USB accessory and USB host modes to support a variety of USB peripherals and Android USB accessories.


The following guides can help you optimize your app for connectivity.


Reduce network battery drainage

Learn about strategies for preserving battery, user experience, and system health.

Reduce latency and increase network throughput

Learn how to use Cronet, a library derived from the Chromium network stack, to reduce latency and increase throughput of network requests.