Android Utililty Methods Wifi Address Get

List of utility methods to do Wifi Address Get

Description

The list of methods to do Wifi Address Get are organized into topic(s).

Method

StringgetWifiMacAddress()
get Wifi Mac Address
WifiManager wifi = (WifiManager) App.getInstance()
        .getSystemService(Context.WIFI_SERVICE);
WifiInfo info = wifi.getConnectionInfo();
return info.getMacAddress();
StringgetDeviceUDID(Context context)
Obtain device wifi mac address(UDID)
WifiManager wifi = (WifiManager) context
        .getSystemService(Context.WIFI_SERVICE);
WifiInfo info = wifi.getConnectionInfo();
return info.getMacAddress();
StringgetDeviceUniqueIdentificator( @Nonnull Context context, @Nonnull String appId)
Generates an unique, stable UID that identifies the device where the user is currently logged.
String telephonyId = null;
String androidId = null;
if (hasTelephony(context)) {
    final TelephonyManager telephony = (TelephonyManager) context
            .getSystemService(Context.TELEPHONY_SERVICE);
    telephonyId = telephony.getDeviceId();
if (telephonyId == null) {
...