[°³¹ß Tip] ¾Èµå·ÎÀÌµå ±â±âº° °íÀ¯ ID |
|
|
|
8³â Àü |
<¹æ¹ý1>
public String getDeviceId ()
Since: API Level 1
Returns the unique device ID, for example, the IMEI for GSM and the MEID for CDMA phones. Return null if device ID is not available.
Requires Permission: READ_PHONE_STATE
<¹æ¹ý2>
NetworkInfo networkInfo = connection.getActiveNetworkInfo();
WifiInfo wifiInfo = mWifiMgr.getConnectionInfo();
Log.d(TAG,"MAC:"+wifiInfo.getMacAddress());
getDeviceId()´Â TelephonyManager.getDeviceId() ÀÔ´Ï´Ù.
|
|
̵̧ : 292 |
̵̧
¸ñ·Ï
|
|