2010-07-21 77 views
3

目前使用的IAM获得与Android 1.5.Whenever装置配对蓝牙编程backport.android.bluetooth2.jar文件失败,它填充警告对话框,输入密钥,如果我给密钥,然后在我的日志IAM得到以下错误是否有可能以编程方式与蓝牙设备配对?

07-21 12:25:52.419: WARN/BluetoothDeviceService(948): setPin(00:0E:6D:BA:89:F3) called but no native data available, ignoring. Maybe the PasskeyAgent Request was cancelled by the remote device or by bluez. 

为了成功配对我的BT设备,我总是重新启动我的平板电脑,并手动将设备与设置选项配对。因此,我终于意识到以编程方式给出此密钥,但我还没有找到任何方法。但在谷歌开源中,我发现了一种方法用@hide setPassKey(String Address,int passKey)BluetoothDevice.javabackport.android.bluetooth2.jar。这不会出现在我的jar文件中。如果有任何方式配对无界设备请尽快回复?

+0

请任何人给我回复 – Rajendar 2010-07-24 06:00:39

回答

相关问题