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