The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | <HTML> |
| 2 | <BODY> |
Scott Main | 36cdecd | 2010-10-14 13:42:19 -0700 | [diff] [blame] | 3 | <p>Provides classes that manage Bluetooth functionality, such as scanning for |
| 4 | devices, connecting with devices, and managing data transfer between devices.</p> |
| 5 | |
Joe Fernandez | 3aef8e1d | 2011-12-20 10:38:34 -0800 | [diff] [blame] | 6 | <p>For more information, see the |
| 7 | <a href="{@docRoot}guide/topics/wireless/bluetooth.html">Bluetooth</a> developer guide.</p> |
Scott Main | 36cdecd | 2010-10-14 13:42:19 -0700 | [diff] [blame] | 8 | {@more} |
Scott Main | 9fab0ae | 2009-11-03 18:17:59 -0800 | [diff] [blame] | 9 | |
| 10 | <p>The Bluetooth APIs let applications:</p> |
| 11 | <ul> |
| 12 | <li>Scan for other Bluetooth devices</li> |
| 13 | <li>Query the local Bluetooth adapter for paired Bluetooth devices</li> |
| 14 | <li>Establish RFCOMM channels/sockets</li> |
| 15 | <li>Connect to specified sockets on other devices</li> |
| 16 | <li>Transfer data to and from other devices</li> |
| 17 | </ul> |
| 18 | |
Scott Main | 1362bbc | 2009-12-16 18:32:55 -0800 | [diff] [blame] | 19 | <p> |
Scott Main | 9fab0ae | 2009-11-03 18:17:59 -0800 | [diff] [blame] | 20 | To perform Bluetooth communication using these APIs, an application must |
| 21 | declare the {@link android.Manifest.permission#BLUETOOTH} permission. Some |
Scott Main | 1362bbc | 2009-12-16 18:32:55 -0800 | [diff] [blame] | 22 | additional functionality, such as requesting device discovery, |
| 23 | also requires the {@link android.Manifest.permission#BLUETOOTH_ADMIN} |
Scott Main | 9fab0ae | 2009-11-03 18:17:59 -0800 | [diff] [blame] | 24 | permission. |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 25 | </p> |
Scott Main | 9fab0ae | 2009-11-03 18:17:59 -0800 | [diff] [blame] | 26 | |
Scott Main | 9fab0ae | 2009-11-03 18:17:59 -0800 | [diff] [blame] | 27 | <p class="note"><strong>Note:</strong> |
Scott Main | f4f05b8 | 2011-01-07 14:38:23 -0800 | [diff] [blame] | 28 | Not all Android-powered devices provide Bluetooth functionality.</p> |
Joe Fernandez | 3aef8e1d | 2011-12-20 10:38:34 -0800 | [diff] [blame] | 29 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 30 | </BODY> |
| 31 | </HTML> |