I've put this in b.android.com, but thought that the guys here might
appreciate a heads up;

        java.util.Currency(Locale locale) is broken for the German locale.

If you want to see this put the following into your app;

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

When you run this with the 'phone set to English it works without any
problems.

If you try this with the 'phone set to German you get;

E/AndroidRuntime(  177): Caused by: java.lang.IllegalArgumentException: Not
a supported ISO 3166 Country locale: de
E/AndroidRuntime(  177):        at
java.util.Currency.getInstance(Currency.java:106)

So if you're getting strange issues and errors from German users you may
want to check your code for Locale usage.

Al.

P.S. Its in as http://code.google.com/p/android/issues/detail?id=2372

---

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries. 



--~--~---------~--~----~------------~-------~--~----~
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