mdeanda / gpslogger

Automatically exported from code.google.com/p/gpslogger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not read kml files with french locale

GoogleCodeExporter opened this issue · comments

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