http://www.cnblogs.com/xioapingguo/p/4037513.html
网上找的,记录一下
public static String getMacAdress(){ WifiManager wifi = (WifiManager) sContext.getSystemService(Context.WIFI_SERVICE); WifiInfo info = wifi.getConnectionInfo(); return info.getMacAddress(); }
记得加入权限<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>