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]+")\n");

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

 

 http://dashboard.mob.com

posted on 2016-12-01 11:09  语风6649  阅读(2559)  评论(0编辑  收藏  举报

导航