Is there any way to convert a currency symbol to the corresponding ISO code in Java/Android?
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.
Thanks a lot!
// Edited 1/11/2013
I have just realized that it's impossible covert the currency symbol to its currency code, because there are many countries which share the same symbol.
Maybe the correct question is how can I know how much money and in what currency has paid a user??