Hi, I'm developing an application which role is to be a hub for a specific kind of bluetooth devices. I want to make the pairing process as easy as possible. I know the pin code of each device. With API 5, i can do a lot of things on the bluetooth level, but i couldn't find a way to connect directly to a device without asking the user to input the pin code.
In the source code of the API, there is a function called: setPasskey(String address, int passkey), but it seems to be not usable when i use the object BluetoothDevice. I've tried to use two libraries: backport-android-bluetooth (http:// code.google.com/p/backport-android-bluetooth/) and android-bluetooth (http://code.google.com/p/android-bluetooth/) without success. I even thought about key injector but the notification system does not put the input field in the front screen. Do you have any idea about a solution to my problem? Thanks Fabrice -- 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

