Android 免费短信获取国家列表和国家代码

StringBuffer str = new StringBuffer();

for (Map.Entry<Character, ArrayList<String[]>> ent : SMSSDK
      .getGroupedCountryList().entrySet()) {
  ArrayList<String[]> cl = ent.getValue();
  for (String[] paire : cl) {
    str.append("国家("+paire[0]+")----("+"区号"+paire[1]+") ");

     Log.e("TAG","国家("+paire[0]+")---("+"区号:"+paire[1]+") ");
  }
}

 http://dashboard.mob.com

原文地址:https://www.cnblogs.com/Claire6649/p/6100999.html