Thursday, May 26, 2011

[android-developers] Bluetooth is driving me nuts -- Galaxy tab lockups and pairing stupidity

I'm trying to use bluetooth SPP to establish a socket connection
between two Android devices. There are a few things that are really
driving me crazy in this effort.

First, the Galaxy Tab seems to just be broken when it comes to SPP. I
can establish the connection just fine, but after a few minutes, and
most notably whenever the app on the Tab on which the SPP server
socket was established is killed, the tablet effectively locks up,
requiring a hard reboot (hold down the power for 7 seconds to
reboot). I've seen others mentioning the same thing in various
places, but haven't seen any solutions. Has anyone come up with
ANYTHING to solve this issue?

Second, I've been struggling to find a way to make it easy for users
to pair devices. I'm developing a full-screen game involving two
devices, and the pairing request on 2.3 and later seems to happen
(sometimes) as a notification, which doesn't do much good for a full
screen game. In some cases it does seem to be displayed as a dialog
(which is what I want), but it's frequently as a notification. Is
anyone aware of a reliable way to initiate pairing via DIALOG
automatically when a socket is opened between two unpaired devices?

Finally, has anyone else noticed pairing requests happening twice?
Dialog shows, user clicks pair, second dialog appears, click pair,
pairing happens.

Thanks for any help!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate