I'm using Android with Api level 8 and I want to get the Address of my Ethernet interface (eth0).
On API level 8, the NetworkInterface class don't have the function getHardwareAddress(). The WifiManager also does not work since this is not an Wireless interface.
Thanks in advance!
Assuming your ethernet interface is eth0, try opening and reading the file /sys/class/net/eth0/address
.