How do I get the display name of a currency in front of Android API 19?

Currency.getDisplayName(java.util.Locale)

is exactly what I want ... except that it is only available with Android API 19. It's not as good as mine minSdkVersion

<19.

Does anyone know how to get the display name for a specific locale for a currency prior to API 19? Preferably without using a third party library.

This question can be alternatively expressed as follows:

How can you get the equivalent Currency.getDisplayName(java.util.Locale)

before Java 7?

+1


source to share





All Articles