Your bluetooth service discovery failed.... Were you paired? Using a valid uuid? Get the right port? Appearently not, try debugging through your code, your bt connection isn't going through.
Kris On Jun 18, 2011 10:07 AM, "ABS" <[email protected]> wrote: Hello everyone, I am new on android platform, working on one traffic control app. In this app i have to connect with bluetooth printer through android device, i am trying to do this connection with Bluetooth socket. But problem is that i am getting IOexception while connecting with printer socket. Just i have to send data to print,Do i need to use Server and client architecture? exception is as follows 06-18 19:15:56.943: DEBUG/BluetoothTest(17386): java.io.IOException: Service discovery failed 06-18 19:15:56.943: DEBUG/BluetoothTest(17386): at android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java: 383) 06-18 19:15:56.943: DEBUG/BluetoothTest(17386): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:193) 06-18 19:15:56.943: DEBUG/BluetoothTest(17386): at com.ob.BluetoothPaired$ConnectRunnable.run(BluetoothPaired.java:236) 06-18 19:15:56.943: DEBUG/BluetoothTest(17386): at java.lang.Thread.run(Thread.java:1096) I stuck there if anyone know solution reply me ASAP thanks in advance -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

