Java tutorial
//package com.java2s; //License from project: Open Source License import java.util.Currency; import java.util.Locale; public class Main { public static String getSpinnertextCountry(String countryCode) { Locale locale = new Locale("", countryCode); try { Currency currency = Currency.getInstance(locale); return locale.getDisplayCountry() + " (" + currency.getCurrencyCode() + ")"; } catch (Exception e) { } return ""; } }