Since: API Level 5


Classes | Description

Provides classes that manage Bluetooth functionality, such as scanning for devices, connecting with devices, and managing data transfer between devices.

For a complete guide to using the Bluetooth APIs, see the Bluetooth developer guide.

The Bluetooth APIs let applications:

  • Scan for other Bluetooth devices
  • Query the local Bluetooth adapter for paired Bluetooth devices
  • Establish RFCOMM channels/sockets
  • Connect to specified sockets on other devices
  • Transfer data to and from other devices

To perform Bluetooth communication using these APIs, an application must declare the BLUETOOTH permission. Some additional functionality, such as requesting device discovery, also requires the BLUETOOTH_ADMIN permission.

Note: Not all Android devices are guaranteed to have Bluetooth functionality.