해결했습니다;;;
Method m = mBTDevice.getClass().getMethod("createRfcommSocket", new Class[] {int.class});mBTSocket = ( BluetoothSocket ) m.invoke( mBTDevice, 1 );
원래는 위처럼 했는데 mBTDevice.createRfcommSocketToServiceRecord( MY_UUID );
로 하니까 되는군요;;;
그동안 멀한건지;;; 에흉
로그인 유지
해결했습니다;;;
Method m = mBTDevice.getClass().getMethod("createRfcommSocket", new Class[] {int.class});
mBTSocket = ( BluetoothSocket ) m.invoke( mBTDevice, 1 );
원래는 위처럼 했는데 mBTDevice.createRfcommSocketToServiceRecord( MY_UUID );
로 하니까 되는군요;;;
그동안 멀한건지;;; 에흉