TelephonyManager phoneMgr=(TelephonyManager)this.getSystemService(Context.TELEPHONY_SERVICE); String imsi=phoneMgr.getSubscriberId();//phoneMgr.getDeviceId()