I have an activity where the values are retrieved from the ResultSet
and I store them in an array as:
flat[i] = rs.getDouble(3);
flng[i] = rs.getDouble(4);
i++;
Intent i = new Intent(MapID.this, map.class);
Bundle bundle=new Bundle();
bundle.putDoubleArray("Lat", flat);
bundle.putDoubleArray("Long", flng);
i.putExtras(bundle);
startActivity(i);
On the other class I get the values by:
Bundle bundle = getIntent().getExtras();
flat = bundle.getDoubleArray("Lat");
I want to convert the values to String something like:
String xx = new Double(flat).toString();