I have a main activity that calls another(2nd) activity “VennDiagram”
Intent intent = new Intent(getApplicationContext(), VennDiagram.class);
startActivityForResult(intent, 200);
the 2nd activity after doing some calculations calls a 3rd activity “ImageMapTest….” acitvity
Intent i = new Intent(getApplicationContext(), ImageMapTestActivity.class);
i.putExtras(sendBundle);
startActivity(i);
//finish();
Now I need help to return the an arrayList from the 3rd activity to the first ??!!
Intent in = new Intent(getApplicationContext(), AndroidClientActivity.class);
in.putExtra("songList", playList);
setResult(200, in);
finish();
I do have an intent listener as below at my 1st activity, but its just that the 3rd activity won’t send it back to it
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if(resultCode == 100 || resultCode == 200)
{
}
P.S I did read couple of similar posts but they were not what I was looking for…
You should be able to just send the result received by B from C back to A.