Why Can't Htc Droid Running Ota 2.1 Communicate With Rfcomm?
Yesterday we received OTA Android 2.1 on my wife's HTC Droid - HOORAY!!! I am finally able to load my carputer app on her phone. Well we loaded it, but it doesn't work. Specificall
Solution 1:
It's a waiting game. Until HTC finishes writing drivers to support RFCOMM on this device, RFComm won't work.
Solution 2:
I have a HTC incredible Android 2.3.4. I've had similar issues that I've been able to work around using reflection.
So instead of using:
mBTSocket = mBTDevice.createRfcommSocketToServiceRecord(UUID_RFCOMM_GENERIC);
Try using:
Method m = device.getClass().getMethod("createRfcommSocket", new Class[] {int.class});
mBTSocket = (BluetoothSocket) m.invoke(device, 1);
Post a Comment for "Why Can't Htc Droid Running Ota 2.1 Communicate With Rfcomm?"