[android-developers] using RFCOMM APIs to communicate with HID profile Keyboard

2012-05-09 Thread rmq
Hello , I am developing an application for BT pairing of keyboard via NFC without pass key. I trying to use the RFCOM APIs BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(Device_address); mBluetoothSocket = device.createInsecureRfcommSocketToServiceRecord(MY_UUID); mBluetoothAdapter.ca

[android-developers] Unable to perform BT createInsecureRfcommSocketToServiceRecord

2012-05-09 Thread rmq
I am writing my own application to pair BT HID keyboard with Google Nexus S. I am using the UUID 1124--1000-8000-00805F9B34FB The connection fails . The log cat is 05-09 06:35:12.977: E/BluetoothService.cpp(155): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (I

[android-developers] Data loss when using the nfcv.transceive function in thread and it is random behaviour

2011-12-05 Thread rmq
I am using android SDK 10.0.0 and Android 2.3.3. I am using Google Nexus Phone to read the tag (passive device ISO 15693) .The data is in raw format(bytes) The device is M24LR64 from ST. The logic to read the data is correct. When I try to read the data using nfcv.transceive command some times the