Merge "docs: fix typo; surface dev guide link in package description" into froyo
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
<HTML>
|
<HTML>
|
||||||
<BODY>
|
<BODY>
|
||||||
Provides classes that manage Bluetooth functionality, such as scanning for
|
<p>Provides classes that manage Bluetooth functionality, such as scanning for
|
||||||
devices, connecting with devices, and managing data transfer between devices.
|
devices, connecting with devices, and managing data transfer between devices.</p>
|
||||||
|
|
||||||
|
<p>For a complete guide to using the Bluetooth APIs, see the <a
|
||||||
|
href="{@docRoot}guide/topics/wireless/bluetooth.html">Bluetooth</a> developer guide.</p>
|
||||||
|
{@more}
|
||||||
|
|
||||||
<p>The Bluetooth APIs let applications:</p>
|
<p>The Bluetooth APIs let applications:</p>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -20,9 +24,6 @@ also requires the {@link android.Manifest.permission#BLUETOOTH_ADMIN}
|
|||||||
permission.
|
permission.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>For a detailed guide to using the Bluetooth APIs, see the <a
|
|
||||||
href="{@docRoot}guide/topics/wireless/bluetooth.html">Bluetooth Dev Guide topic</a>.</p>
|
|
||||||
|
|
||||||
<p class="note"><strong>Note:</strong>
|
<p class="note"><strong>Note:</strong>
|
||||||
Not all Android devices are guaranteed to have Bluetooth functionality.</p>
|
Not all Android devices are guaranteed to have Bluetooth functionality.</p>
|
||||||
</BODY>
|
</BODY>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ page.title=Bluetooth
|
|||||||
<li>Android's bluetooth APIs allow your application to perform wireless data transactions with
|
<li>Android's bluetooth APIs allow your application to perform wireless data transactions with
|
||||||
other devices</li>
|
other devices</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>In this document</h2>
|
<h2>In this document</h2>
|
||||||
<ol>
|
<ol>
|
||||||
<li><a href="#TheBasics">The Basics</a></li>
|
<li><a href="#TheBasics">The Basics</a></li>
|
||||||
@@ -32,7 +32,7 @@ other devices</li>
|
|||||||
</li>
|
</li>
|
||||||
<li><a href="#ManagingAConnection">Managing a Connection</a></li>
|
<li><a href="#ManagingAConnection">Managing a Connection</a></li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<h2>Key classes</h2>
|
<h2>Key classes</h2>
|
||||||
<ol>
|
<ol>
|
||||||
<li>{@link android.bluetooth.BluetoothAdapter}</li>
|
<li>{@link android.bluetooth.BluetoothAdapter}</li>
|
||||||
@@ -289,7 +289,7 @@ is discussed below.</p>
|
|||||||
of paired devices to see if the desired device is already known. To do so,
|
of paired devices to see if the desired device is already known. To do so,
|
||||||
call {@link android.bluetooth.BluetoothAdapter#getBondedDevices()}. This
|
call {@link android.bluetooth.BluetoothAdapter#getBondedDevices()}. This
|
||||||
will return a Set of {@link android.bluetooth.BluetoothDevice}s representing
|
will return a Set of {@link android.bluetooth.BluetoothDevice}s representing
|
||||||
paired devices. For example, you can query all paired devices and then add then
|
paired devices. For example, you can query all paired devices and then
|
||||||
show the name of each device to the user, using an ArrayAdapter:</p>
|
show the name of each device to the user, using an ArrayAdapter:</p>
|
||||||
<pre>
|
<pre>
|
||||||
Set<BluetoothDevice> pairedDevices = mBluetoothAdapter.getBondedDevices();
|
Set<BluetoothDevice> pairedDevices = mBluetoothAdapter.getBondedDevices();
|
||||||
|
|||||||
Reference in New Issue
Block a user