adrian del campo wrote:

> Is there any way to convert a currency symbol to the corresponding ISO 
> code in Java/Android?
>

What locale would you use for "$"? Brunei Darussalam (ar/BN)? Chile 
(es-cl/CL)? Colombia (es-co/CO)? Hong Kong (zh-hk/HK)?
 

> I have seen that Google Play in-app billing APIv3 can send us the item 
> price including the currency symbol, but then we are storing the price and 
> currency in different fields, so we can validate if the payment has a valid 
> currency.
>
> I know that I can iterate all the locales and compare the currency 
> Symbols, but I think there must be a easier way to do this task.
>
You know that, do you?

-- 
Lew
 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to