The Pursuit of Happyness


Android


 Currency currency = Currency.getInstance(Locale.getDefault());

 String currencyCode = currency.getCurrencyCode();



iOS


 
 NSString *localeIdentifier = [[NSLocale availableLocaleIdentifiers] objectAtIndex:72];

 NSLocale *selectedLocale = [[NSLocale alloc] initWithLocaleIdentifier:localeIdentifier];

 NSString *currencyCode = [selectedLocale objectForKey:NSLocaleCurrencyCode];




Comment +0

구글코드에 있는 소스

http://code.google.com/p/php-excel-reader/


Comment +0