This is on a HTC Magic running 2.2 (CM 6).
If I try running OSN with my normal locale (Swedish), I get before anything appears. If I change locale to English (US), it works as expected.
I believe this is a problem for locales using comma (,) as decimal separator, i.e. 5/4 = 1,25, not 1.25.
Traceback:
09-10 09:27:56.051 E/AndroidRuntime(10399): java.lang.RuntimeException: Unable to start service org.opensatnav.TripStatisticsService@434d1eb0 with Intent { cmp=org.opensatnav/.TripStatisticsService }: java.lang.IllegalArgumentException: syntax error: U_UNQUOTED_SPECIAL: ###.##
09-10 09:27:56.051 E/AndroidRuntime(10399): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3063)
09-10 09:27:56.051 E/AndroidRuntime(10399): at android.app.ActivityThread.access$3600(ActivityThread.java:125)
09-10 09:27:56.051 E/AndroidRuntime(10399): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2096)
09-10 09:27:56.051 E/AndroidRuntime(10399): at android.os.Handler.dispatchMessage(Handler.java:99)
09-10 09:27:56.051 E/AndroidRuntime(10399): at android.os.Looper.loop(Looper.java:123)
09-10 09:27:56.051 E/AndroidRuntime(10399): at android.app.ActivityThread.main(ActivityThread.java:4627)
09-10 09:27:56.051 E/AndroidRuntime(10399): at java.lang.reflect.Method.invokeNative(Native Method)
09-10 09:27:56.051 E/AndroidRuntime(10399): at java.lang.reflect.Method.invoke(Method.java:521)
09-10 09:27:56.051 E/AndroidRuntime(10399): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
09-10 09:27:56.051 E/AndroidRuntime(10399): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
09-10 09:27:56.051 E/AndroidRuntime(10399): at dalvik.system.NativeStart.main(Native Method)
09-10 09:27:56.051 E/AndroidRuntime(10399): Caused by: java.lang.IllegalArgumentException: syntax error: U_UNQUOTED_SPECIAL: ###.##
09-10 09:27:56.051 E/AndroidRuntime(10399): at com.ibm.icu4jni.text.NativeDecimalFormat.applyPattern(NativeDecimalFormat.java:569)
09-10 09:27:56.051 E/AndroidRuntime(10399): at com.ibm.icu4jni.text.NativeDecimalFormat.applyLocalizedPattern(NativeDecimalFormat.java:261)
09-10 09:27:56.051 E/AndroidRuntime(10399): at java.text.DecimalFormat.applyLocalizedPattern(DecimalFormat.java:633)
09-10 09:27:56.051 E/AndroidRuntime(10399): at org.opensatnav.util.FormatHelper.formatSpeed(FormatHelper.java:90)
09-10 09:27:56.051 E/AndroidRuntime(10399): at org.opensatnav.services.TripStatistics.getSpeedString(TripStatistics.java:149)
09-10 09:27:56.051 E/AndroidRuntime(10399): at org.opensatnav.services.TripStatistics.getAverageTripSpeedString(TripStatistics.java:140)
09-10 09:27:56.051 E/AndroidRuntime(10399): at org.opensatnav.TripStatisticsController.tripStatisticsChanged(TripStatisticsController.java:77)
09-10 09:27:56.051 E/AndroidRuntime(10399): at org.opensatnav.services.TripStatistics.addTripStatsListener(TripStatistics.java:57)
09-10 09:27:56.051 E/AndroidRuntime(10399): at org.opensatnav.TripStatisticsService.onStart(TripStatisticsService.java:84)
09-10 09:27:56.051 E/AndroidRuntime(10399): at android.app.Service.onStartCommand(Service.java:420)
09-10 09:27:56.051 E/AndroidRuntime(10399): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3053)
Confirmed