I am using the code
TelephonyManager tMgr =(TelephonyManager)mAppContext.getSystemService(Context.TELEPHONY_SERVICE); mPhoneNumber = tMgr.getLine1Number(
Look for TelephonyManager.getSubscriberId(), this will give the unique id for each SIM.