Hi All, I've seen a few threads on this but haven't really found a good answer. Plus there seems to be some confusion around the behaviour of the pairing dialog.
I am connecting my nexus 1 to a bluetooth spp server device to read and write data. After some experimentation I have found the following 1. If I offload the establishment of the connection from the UI thread (which I would consider a good idea) the pairing dialog (enter pin) is not displayed - rather a notification item appears which the user must click to pair the devices. 2. If I establish the connection from within the UI thread then the paring dialog will come to the foreground but obviously there is a small ugly UI pause while waiting for this. In either case the request to establish the connection is timing out before the user (me) can enter the pin with an IOException Service discovery failed. My ideal would be that the pairing dialog comes to the front (without have to block my UI thread) and that the connection attempt would not time out while waiting on pairing entry. Has anyone come up with a way to make this work? Cheers Mike -- 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

