40
๋ฐ๊ธ๋ ์บ ํ์ธ์ฝ๋
40
๋งค์ฒด๋ณ ์ ์ ๊ณ ์ ์๋ณ๊ฐ
40
๊ตฌ๊ธ๊ด๊ณ ์์ด๋
AdvertisingIdClient.Info idInfo = null;
idInfo = AdvertisingIdClient.getAdvertisingIdInfo(mContext);
return idInfo.getId();
40
iOS ๊ณ ์ ์๋ณ์(IOS์ผ ๊ฒฝ์ฐ๋ง)
20
๋๋ฐ์ด์ค ์์ด๋
TelephonyManager mngr = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE);
return mngr.getDeviceId();
100
๊ตฌ๊ธ ๊ณ์ SHA1๋ก ์ธ์ฝ๋ฉ ํ๊ฒ์ ๋ค์ค์ผ ๊ฒฝ์ฐ , ๋ก ์ฐ๊ฒฐํ์ฌ ์ฃผ์ธ์
Account[] accounts = AccountManager.get(mContext).getAccounts();
40
์๋๋ก์ด๋ ์์ด๋
return Settings.Secure.getString(mContext.getContentResolver(), Settings.Secure.ANDROID_ID);
40
๋ธ๋๋
return Build.BRAND;
40
๋ชจ๋ธ
return Build.MODEL;