I can not get the vector inside PutExtra. Can anyone help me?
Activity 1
double[] valores = new double[vetorEdits.length];
for (int i = 0; i < vetorEdits.length ; i++) {
valores[i] = Double.parseDouble( vetorEdits[i].getText().toString());
}
Intent intent = new Intent(getApplication(),Main5Activity.class);
intent.putExtra("valores", valores[vetorEdits.length]);
startActivity(intent);
Activity 2
Intent intent = getIntent();
double[] valores = getIntent().getDoubleExtra("valores", 0,0);