i use 2 activities A and B where A is an activity with in a tabhost.
i call the activity B from A
code used for calling an activity
mybund.putString("event", obj_rowitem.getevent());
Intent schedule = new Intent(getApplicationContext(), Schedule.class);
schedule.putExtras(mybund);
startActivityForResult(schedule, req_code);
the Activity B returns some data to the activity A
code in B
Bundle mybund = new Bundle();
mybund.putString("date",date);
Intent data = new Intent();
data.putExtras(mybund);
setResult(RESULT_OK, data);
Log.e("going",date);
finish();
i use OnActivity results on A.
but the code that written on onactivityresult block doesn't work