Dapatkan ID Perangkat secara terprogram Android
//first add this to mainfirst
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
//and this in java
TelephonyManager telephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
telephonyManager.getDeviceId();
Abdelftah Zowail 16 Y.O