Reputation: 81
I already am able to find the devices and almost connect to them, im sure the connecting button is working but the other device is no answering right so its not connecting i need help with that... And after they be connected i would need to send a zip file by bluetooth and i really dont have any idea how to do that.
Here is my code
And here is the blueToothChatService class im using
If someone already made this or has any sample to help me i would be really thankful my brain is melting... -.-
Thanks
Upvotes: 7
Views: 36188
Reputation: 2308
I've been doing some Bluetooth stuff on Xamarin Android recently and found the following source code incredibly helpful.
https://developer.xamarin.com/samples/monodroid/BluetoothChat/
Upvotes: 1
Reputation: 2700
...
From someone that knows what they are doing - Nice Article: Peter Leow
BluetoothServerSocket bluetoothServerSocket = bluetoothAdapter.listenUsingRfcommWithServiceRecord(getString(R.string.app_name), uuid);
private final static UUID uuid = UUID.fromString("fc5ffc49-00e3-4c8b-9cf1-6b72aad1001a");
Upvotes: 0