MPrenassi / gpslogger

Automatically exported from code.google.com/p/gpslogger
0 stars 1 forks source link

Can not read kml files with french locale #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Export KML File on french version of Android

What is the expected output? What do you see instead?
GPS coordonates should be formated xx.xxxxx but are written xx,xxxxx

What version of the product are you using? On what operating system?
French version of Android on HTC Dream

Please provide any additional information below.
The following code fixes the issue in GPSLoggerActivity.java at line 45
    private final Locale MyEngLocal = new Locale("ENGLISH");
    private final DecimalFormatSymbols MyDecimalSep = new 
DecimalFormatSymbols(MyEngLocal);
    private final DecimalFormat sevenSigDigits = new DecimalFormat
("0.#######",MyDecimalSep);

Original issue reported on code.google.com by lmontho...@gmail.com on 25 Apr 2009 at 1:03