[android-developers] 2.1 Bluetooth support still needs work

2010-04-20 Thread Anders Widen
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 at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] 2.1 Bluetooth support still needs work

2010-04-20 Thread Max Gilead
Hi Anders!

You can search list archives for others with BT-related issues. I for one am
having problems with it too (Droid with 2.0.1 firmware, still waiting for
OTA 2.1 update).

When every other phone/laptop I tried can connect to a device and even my
Droid can connect to is using low-level driver but it's plain impossible
from application level I'd say we have a bug here (full story @
http://stackoverflow.com/questions/2660968/how-to-prevent-android-bluetooth-rfcomm-connection-from-dying-immediately-after
)

Philipp's thread:
http://groups.google.com/group/android-developers/browse_thread/thread/a7ff7771ae3be1c/99e0a638c37b9ae5?hl=enlnk=gstq=Android+Bluetooth+Development+-+Problem+connecting#99e0a638c37b9ae5

My problem:
http://groups.google.com/group/android-developers/browse_thread/thread/440da759b1935108/4c014dd6433cc440?hl=enlnk=gstq=Bluetooth+RFCOMM+connection+dying+immediately+after+.connect%28%29#4c014dd6433cc440

Cheers,
Max

-- 
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