• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<HTML>
2<BODY>
3<p>Provides classes that manage Bluetooth functionality, such as scanning for
4devices, connecting with devices, and managing data transfer between devices.
5The Bluetooth API supports both "Classic Bluetooth" and Bluetooth Low Energy.</p>
6
7<p>For more information about Classic Bluetooth, see the
8<a href="{@docRoot}guide/topics/connectivity/bluetooth.html">Bluetooth</a> guide.
9For more information about Bluetooth Low Energy, see the
10<a href="{@docRoot}guide/topics/connectivity/bluetooth-le.html">
11Bluetooth Low Energy</a> guide.</p>
12{@more}
13
14<p>The Bluetooth APIs let applications:</p>
15<ul>
16  <li>Scan for other Bluetooth devices (including Bluetooth Low Energy
17    devices)</li>
18  <li>Query the local Bluetooth adapter for paired Bluetooth devices</li>
19  <li>Establish RFCOMM channels/sockets</li>
20  <li>Connect to specified sockets on other devices</li>
21  <li>Transfer data to and from other devices</li>
22</ul>
23
24<p>
25To perform Bluetooth communication using these APIs, an application must
26declare the {@link android.Manifest.permission#BLUETOOTH} permission. Some
27additional functionality, such as requesting device discovery,
28also requires the {@link android.Manifest.permission#BLUETOOTH_ADMIN}
29permission.
30</p>
31
32<p class="note"><strong>Note:</strong>
33Not all Android-powered devices provide Bluetooth functionality.</p>
34
35</BODY>
36</HTML>
37