How to get the mac address in the absence of the wifi!! and am using the following code to get the mac address in the presence of the wifi `public static String getMACaddress(Context ctx) {
WifiManager wifiManager = (WifiManager)ctx.getSystemService(Context.WIFI_SERVICE);
if (wifiManager.isWifiEnabled())
{
WifiInfo wInfo = wifiManager.getConnectionInfo();
String macAddress = wInfo.getMacAddress();
}
`
in the else part i want to get the mac address in the normal way i mean without the internet connection.