Hi all,
when using the following code to store last lat/lon in a map and then to a file, the resulting string uses a comma on the seconds part due to my locale settings
so when I read it back (from file) I have to replace commas with dots in order to avoid an illegal value error whe initializing a Location object with those coordinates.
Is there a way to force ConvertToSeconds to use a decimal point instead of a comma before writing? A JavaObject or Reflection solution will be preferable to the use of an extra lib (just a matter of personal taste).
TIA
udg
when using the following code to store last lat/lon in a map and then to a file, the resulting string uses a comma on the seconds part due to my locale settings
B4X:
MParameters.Put("lastloclat",LastLoc.ConvertToSeconds(LastLoc.Latitude))
Is there a way to force ConvertToSeconds to use a decimal point instead of a comma before writing? A JavaObject or Reflection solution will be preferable to the use of an extra lib (just a matter of personal taste).
TIA
udg