I've been thinking the same problem, may be you can listen to ACTION_PAIRING_REQUEST from BluetoothAdapter, and then setPin() in BluetoothDevice ?
On 9月22日, 下午11时42分, Ricky <sc.richard.t...@gmail.com> wrote: > In the Android 2.3.3 BluetoothChat example with with > createInsecureRfcommSocketToServiceRecord() API, users are still > prompted to accept the pairing request. Even though no PIN code was > presented. > > Is there a way to automate Bluetooth pairing request without user > intervention? Or is this never possible due to security concerns? -- 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