1

To further prove that MAC address is not good as device Id (see Get MAC Address of android device without Wifi), I'd like to check if those Android devices with two antennas (MIMO) have two MAC addresses?

That should be with 802.11ac devices like Samsung Galaxy S5 (I don't have such devices)

Related to Is there a unique Android device ID? , How to Identify that my Android device Supports MIMO?

In other words, I would like to try snippet below on such devices.

public static String getMacAddress() {
    if (context == null)
        return null;
    WifiManager wifiManager = (WifiManager) context.getSystemService("wifi");
    WifiInfo wifiInfo = wifiManager.getConnectionInfo();
    if (wifiInfo == null) 
        return null;
    return wifiInfo.getMacAddress();
}
Community
  • 1
  • 1
Paul Verest
  • 60,022
  • 51
  • 208
  • 332

0 Answers0