luugiathuy / Remote-Bluetooth-Android

A simple remote bluetooth application for Android phone
MIT License
149 stars 152 forks source link

Problem when connecting the client to the server #2

Closed Alezhka closed 12 years ago

Alezhka commented 12 years ago

Worked an samsung galaxy 10.1 (android 3.2), but does not work an samsung galaxy s(android 2.3.3) ans htc wildfire s(android 2.2).

A PC bluetooth adapter - Bluetooth Class I EDR

04-25 18:32:37.033: I/BluetoothCommandService(13665): BEGIN mConnectThread 04-25 18:32:37.063: E/BluetoothService.cpp(102): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session) 04-25 18:32:37.103: E/BluetoothCommandService(13665): Unable to start Service Discovery 04-25 18:32:37.103: E/BluetoothCommandService(13665): java.io.IOException: Unable to start Service Discovery 04-25 18:32:37.103: E/BluetoothCommandService(13665): at android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367) 04-25 18:32:37.103: E/BluetoothCommandService(13665): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201) 04-25 18:32:37.103: E/BluetoothCommandService(13665): at com.luugiathuy.apps.remotebluetooth.BluetoothCommandService$ConnectThread.run(BluetoothCommandService.java:258) 04-25 18:32:37.103: D/BluetoothCommandService(13665): setState() 2 -> 1