You need CS architecture, post the code, then we can understand where is the exact problem.
On Sat, Jun 18, 2011 at 7:37 PM, 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 -- Thanks & Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalore (O) +918030274295 (R) +919886336619 -- 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

