What is Bluetooth and how do we used this using android?

Bluetooth is a communications protocol designed for short-range, low-bandwidth peer-to-peer com-
munications. As of Android 2.1, only encrypted communication is supported, meaning you can only
form connections between paired devices. In Android, Bluetooth devices and connections are handled
by the following classes:

The Bluetooth Adapter represents the local Bluetooth device — that is,
the Android device on which your application is running.

➤ BluetoothAdapter

➤ BluetoothDevice Each remote device with which you wish to communicate is represented
   as a BluetoothDevice.

➤ BluetoothSocket

➤ BluetoothServerSocket By creating a Bluetooth Server Socket (using the
   listenUsingRfcommWithServiceRecord method) on your local Bluetooth Adapter, you can
Call createRfcommSocketToServiceRecord on a remote Bluetooth Device
object to create a Bluetooth Socket that will let you make a connection request to the remote
device, and then initiate communications.
listen for incoming connection requests from Bluetooth Sockets on remote devices.

<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>


  1. Your project is so helpful.Please can you give me your all Bluetooth full project github or zip file.


Post a Comment

Popular posts from this blog

Bluetooth Data Transfer Example

DeCompile .apk file on ubuntu 14.04