Reputation: 123
I want to broadcast simple short message from Android device to iOS and Android devices nearby. The message is short enough and static, so it can even be put as device bluetooth name as far as i concerned. The only requirement is that my app on other devices (iOS and Android) can read it without pairing.
Is that possible? If yes, how? I heard of bonjour, but is it possible to broadcast simple message between Android and iOS using it?
Upvotes: 1
Views: 1156
Reputation: 963
I don't know what the purpose would be, but if you think the message is short enough change the name of the adapter.
String message = "Read me before I change!";
BluetoothAdapter myAdapter = getDefaultAdapter();
myAdapter.setName(message);
Upvotes: 3