[android-developers] Re: 2.1 Bluetooth support still needs work
I can connect to my PC and send and receive messages using SPP and a terminal program. But restarting doesn't work and the connect doesn't always work either: 1. Restarting (connecting) the program doesn't work without restarting BT (Closing BTStack fails somewhere) 2. Sometimes when connecting, phone reads strings of length -1 and loops a lot of output at Logcat about this. 3. When trying to connect to a bonded device the device name shows up as null. (After a restart of the program, guess it's related to 1.) Anyone solved this issues? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: 2.1 Bluetooth support still needs work
Hello, Yes I can confirm the same. I have a solution working for example under the HTC Legend but fails using the HTC Desire and the failure apears to be at a fairly low level. Serge On Apr 20, 2:28 pm, Anders Widen anders...@gmail.com wrote: Hi! I've been working with bluetooth trying figure things out using the BTChatExample. Without editing BTChat has errors that destroy the functionality. You can only connect the first time, if you connect. Close the program and doesn't restart bluetooth the program crashes. Even if you edit out the AccepThread and only focus on client connect, the program will cast exceptions. JBtlSpp.create failed with status FAILED when trying to connect. I've looked into the code and referenced it with the docs (that are based around the ChatExample) and either bluetooth still needs work or there something missing in the APIs. I would love to hear from other people trying to use Bluetooth on Android 2.0++, or try to get a hold of a framework developer to try to iron out these that I believe are in the framework itself. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: 2.1 Bluetooth support still needs work
I have a similar problem and I suspect a timing problem. In my case, I have two seemingly identical devices and my Android Bluetooth app can connect to one of them but not the other. Both devices use the same serial Bluetooth radio and everything else about the two devices is identical. I know this because I manufacture the devices. Although my 2.1 Android app can only connect to one of these, my Windows Mobile app can connect to both of them with equal ease. The only thing that I can think that might be different is that maybe one of the two devices takes slightly longer to respond to a connection request and that the Android software simply gives up too soon. On Apr 20, 6:48 am, ssozonoff se...@sozonoff.com wrote: Hello, Yes I can confirm the same. I have a solution working for example under the HTC Legend but fails using the HTC Desire and the failure apears to be at a fairly low level. Serge On Apr 20, 2:28 pm, Anders Widen anders...@gmail.com wrote: Hi! I've been working with bluetooth trying figure things out using the BTChatExample. Without editing BTChat has errors that destroy the functionality. You can only connect the first time, if you connect. Close the program and doesn't restart bluetooth the program crashes. Even if you edit out the AccepThread and only focus on client connect, the program will cast exceptions. JBtlSpp.create failed with status FAILED when trying to connect. I've looked into the code and referenced it with the docs (that are based around the ChatExample) and either bluetooth still needs work or there something missing in the APIs. I would love to hear from other people trying to use Bluetooth on Android 2.0++, or try to get a hold of a framework developer to try to iron out these that I believe are in the framework itself. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en