-2
如何獲得像印度+91和+1美國的國家代碼。如何獲取Android中的國家代碼
這是我的代碼,
TelephonyManager manager = (TelephonyManager) this.getSystemService(Context.TELEPHONY_SERVICE);
String CountryID= manager.getSimCountryIso().toUpperCase();
上面的代碼顯示。請幫幫我。
'IN'是印度的ISO國家代碼 –
它更好地向用戶詢問 –