(1) Call the android API networkinterface. gethardwareaddress ()
The API level is 9. This API is available only for Android 2.3 and later versions.
(2) method for calling Java: NBTSTAT/ARP
Android generally does not support these two commands.
(3) Call the android API: wifimanager
This is when the device enables a Wi-Fi connection and obtains the MAC address of the NIC.
(4) Call Linux busybox?