Use String.valueOf on each element of your array and store it to another String
array like this:
double[] flat = bundle.getDoubleArray("Lat");
String[] flatAsStrings = new String[flat.length];
for (int i = 0; i < flat.length; i++) {
flatAsStrings[i] = String.valueOf(flat[i]);
}
To simply print these float
values without converting it to Strings, you can do it like this:
double[] flat = bundle.getDoubleArray("Lat");
System.out.println(Arrays.toString(flat));
Will print something like (depends on your input):
[1.0, 2.0, 3.0, 4.0, 5.0]