xref: /aosp_15_r20/development/samples/browseable/BluetoothChat/_index.jd (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard Worker
2*90c8c64dSAndroid Build Coastguard Workerpage.tags="BluetoothChat"
3*90c8c64dSAndroid Build Coastguard Workersample.group=Connectivity
4*90c8c64dSAndroid Build Coastguard Worker@jd:body
5*90c8c64dSAndroid Build Coastguard Worker
6*90c8c64dSAndroid Build Coastguard Worker<p>
7*90c8c64dSAndroid Build Coastguard Worker
8*90c8c64dSAndroid Build Coastguard Worker            This application allows two Android devices to carry out two-way text chat over
9*90c8c64dSAndroid Build Coastguard Worker            Bluetooth. It demonstrates all the fundamental Bluetooth API capabilites, such as:
10*90c8c64dSAndroid Build Coastguard Worker              (1) Scanning for other Bluetooth devices
11*90c8c64dSAndroid Build Coastguard Worker              (2) Querying the local Bluetooth adapter for paired Bluetooth devices
12*90c8c64dSAndroid Build Coastguard Worker              (3) Establishing RFCOMM channels/sockets
13*90c8c64dSAndroid Build Coastguard Worker              (4) Connecting to a remote device
14*90c8c64dSAndroid Build Coastguard Worker              (5) Transfering data over Bluetooth
15*90c8c64dSAndroid Build Coastguard Worker
16*90c8c64dSAndroid Build Coastguard Worker        </p>
17