Enable Bluetooth SPP in Android?

I am trying to use Bluetooth SPP to communicate through it. On some Android phones, the SPP profile is not activated. I encountered a problem in the application that SPP was not activated, and therefore the connection could not be established via Bluetooth, and when I launched another application that is 3g hotspot, which I think activates SPP, and I was able to connect via Bluetooth to your application.

So, how can we activate the bluetooth SPP profile on Android devices? And all android devices have an SPP profile?

+5
source share
3 answers

At developer.android.com BluetoothSocket :

Bluetooth socket - RFCOMM, API Android. RFCOMM , Bluetooth. (SPP).

+9

.. http://source.android.com/porting/bluetooth.html#androidBluetoothFeatures

SPP ( Java API RFCOMM) Android (2.0/2.1) (Eclair)

Android , , , SPP. **

BluetoothServerSocket listenUsingRfcommWithServiceRecord ( , UUID uuid)

** API UUID , , .

+4

Samsung bluetooth SPP S8+. , Android Oreo, . Sony Xperia Ntrip Client, Geneq GPS, . , - ? Ntrip 5 - GPS- GPS. GPS . , - , , , .

-1

All Articles