The device does not work to detect the service (I think so).
I read about BT issues with numerous Samsung devices and HTC devices, but those specifically designed for the L2CAP / HID profile. Soln: you can use SPP or RFCOMM if you use L2CAP
If you use one of the above solutions, try using with a standard UUID
SPP 00001101-0000-1000-8000-00805F9B34FB
RFCOMM 00000003-0000-1000-8000-00805F9B34FB
Edit
Alternatively, you can try using reflection to get a socket connection, sort of like the method below.
private static BluetoothSocket createBluetoothSocket( int type, int fd, boolean auth, boolean encrypt, String address, int port){ try { Constructor<BluetoothSocket> constructor = BluetoothSocket.class.getDeclaredConstructor( int.class, int.class,boolean.class,boolean.class,String.class, int.class); constructor.setAccessible(true); BluetoothSocket clientSocket = (BluetoothSocket) constructor.newInstance(type,fd,auth,encrypt,address,port); return clientSocket; }catch (Exception e) { return null; } }
source share