Some time ago I started developing to Android.
I'm trying to create a BluetoothServerSocket
.
I have this code:
tmp = mBluetoothAdapter.listenUsingRfcommWithServiceRecord(NAME, MY_UUID);
NAME
is the name of my server (I can give here what i want) or not?
And I don't known what is MY_UUID
. Where can I get MY_UUID
from?