Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BluetoothDevice device = bt_adapter.getRemoteDevice(btDevice.address);
- btSocket = device.createInsecureRfcommSocketToServiceRecord(myUUID);
- btSocket.connect();
- btSocket.getOutputStream().write(getStringFile(filepath));
- btSocket.close();
Add Comment
Please, Sign In to add comment