Code example for WifiInfo

Methods: getMacAddress

0
	 * @return 
	 */ 
	public static String getMacAddress() {
        WifiManager wifi = (WifiManager) app.getSystemService(Context.WIFI_SERVICE);
        WifiInfo info = wifi.getConnectionInfo();
        return info.getMacAddress();
    } 
 
	public static String getCustomIMSI(){
		TelephonyManager telephonyManager=(TelephonyManager) app.getSystemService(Context.TELEPHONY_SERVICE);
		return telephonyManager.getSubscriberId();
	} 
 
	/** 
	 * 返回当前程序版本名 
	 */ 
	public static String getAppVersionName() {
		return ""; 
	} 
 
	public static  void registeredDevices(){