I have two Android-Devices, i have no IP-Addresses the Mac-Addresses are
d0:e7:82:fa:90:33 (a)
8c:bf:a6:a8:77:8f (b)
how to send a byte from a to b? Is it possible?
EDIT: droped DatagramSocket-Sources because its packed-based.
By the way: Wifi-Direct or Bluetooth is not supported by the devices.
You can use UDP to broadcast message. It simply broadcast the message and every device on the networks gets it, even the sender. However, message delivery in UDP is not guaranteed, it may drop. So you need to handle that on client side.
Because any other way will loose support and warranty:
I realy was able to send packages between those devices in 802.11(by filter uninterresting octets) without beeing connected but all devices must be rooted!
Another solution i successfully handled: was to download the Android OS-Sources and compile a realy own OS having modified permission-checks (loose of warranty).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With