Open GoogleCodeExporter opened 9 years ago
Actaully, it does not hang, I get an exception ...
11-02 18:20:40.601: INFO/BluetoothEventLoop.cpp(72): DiscoveryCompleted signal
received
11-02 18:20:40.621: INFO/TTSActivity(14384): BT Scan done
11-02 18:20:40.621: INFO/TTSActivity(14384): BT get dev
11-02 18:20:40.621: INFO/TTSActivity(14384): BT dev name: KDC300[000158]
11-02 18:20:40.651: INFO/TTSActivity(14384): BT pair ...
11-02 18:20:40.751: ERROR/TTSActivity(14384): BT Exception:
java.lang.UnsupportedOperationException
11-02 18:20:40.751: ERROR/TTSActivity(14384):
java.lang.UnsupportedOperationException
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
it.gerdavax.android.bluetooth.LocalBluetoothDevice$RemoteBluetoothDeviceImpl.pai
r(LocalBluetoothDevice.java:312)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
com.himoa.tts.TTSActivity.scanCompleted(TTSActivity.java:122)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
it.gerdavax.android.bluetooth.LocalBluetoothDevice$BluetoothBroadcastReceiver.pr
ocessDiscoveryCompleted(LocalBluetoothDevice.java:790)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
it.gerdavax.android.bluetooth.LocalBluetoothDevice$BluetoothBroadcastReceiver.on
Receive(LocalBluetoothDevice.java:689)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args.run(ActivityThrea
d.java:705)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
android.os.Handler.handleCallback(Handler.java:587)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
android.os.Handler.dispatchMessage(Handler.java:92)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
android.os.Looper.loop(Looper.java:123)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
android.app.ActivityThread.main(ActivityThread.java:4203)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
java.lang.reflect.Method.invokeNative(Native Method)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
java.lang.reflect.Method.invoke(Method.java:521)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
11-02 18:20:40.751: ERROR/TTSActivity(14384): at
dalvik.system.NativeStart.main(Native Method)
Can you offer any advise?
Original comment by dfasdfas...@gmail.com
on 2 Nov 2009 at 6:25
not supported pair(String) API. Only support pair() API.
Original comment by zyt...@gmail.com
on 17 Nov 2009 at 8:50
If you pair before running your code you may get around I couldn't get the
BTSamples (GPS)to work without pairing manually first.
I have an issue I need my App to work for 1.6 and I'm using the 0.03b library no matter what I do I can scan fine for the BT devices next to me but I cannot connect I call opensocket as per the samples but nothing happens not error thrown or anything, I want to connect SPP(i have the proper UUID) to a device and/or to a PC emulating the device which I can connect to from a WinMo or a BB but not from the Android.. any pointers????
Original comment by becker...@gmail.com
on 17 Jul 2010 at 12:24
Original issue reported on code.google.com by
dfasdfas...@gmail.com
on 2 Nov 2009 at 2:34