Why hardcode instead of doing something like in this SO post? And what is supposed to be the difference between the secure and insecure uuid?
Heres a link to the BluetoothService class in which the code below resides.
// Unique UUID for this application
private static final UUID MY_UUID_SECURE =
UUID.fromString("fa87c0d0-afac-11de-8a39-0800200c9a66");
private static final UUID MY_UUID_INSECURE =
UUID.fromString("8ce255c0-200a-11e0-ac64-0800200c9a66");