Hello,
I have a problem connecting to a bluetooth device on my
arduino(http://www.hobbycomponents.com/index.php?route=product/product&filter_name=bluetooth&product_id=116)
The problem is connecting to it with my phone(Alcatel OT-991)
I use the following code to try and connect to the bluetoo
I have been able to fix the problem by using this code:
IntPtr createRfcommSocket = JNIEnv.GetMethodID(item.Class.Handle,
"createInsecureRfcommSocket", "(I)Landroid/bluetooth/BluetoothSocket;");
IntPtr _socket =
JNIEnv.CallObjectMethod(item.Handle, create