title: How to get ActivityGroup to get result from child activity
body: <p>So Here's the basic structure of my program</p>
  
  <p>Activity A (TabHost) --> Tab 1 (ActivityGroup) --> MainTab1Activity1</p>
  
  <p>Everything is fine and hunky dory if I use Tab 1 to call MediaStore.ACTION_IMAGE_CAPTURE, however if I want a result, and I try (Tab 1 . startIntentForResult instead of startChildActivity), it tries to go back to Activity A and then crashes since it tries to reallocate resources currently being used.</p>
  
  <p>My question is how do I get Tab 1 to get the result (I already have a pass through method for Tab 1 to MainTabACtivity1 so if I can get the result there, I am golden.  Any help would be greatly appreciated :)</p>
  
  <p>Activty A Code:</p>
  
  <pre><code>intent = new Intent().setClass(this, Tab1Group.class);
  intent.putExtra(main.USERNAME_RESULT, getIntent().getStringExtra(main.USERNAME_RESULT));
  spec = tabHost.newTabSpec("tab1").setIndicator("Tab1Group", 
  res.getDrawable(R.drawable.ic_tab_animals)).setContent(intent);
  tabHost.addTab(spec);`
  </code></pre>
  
  <p>Tab1Group *Activity Group"</p>
  
  <pre><code>Intent faIntent = new Intent(this,MainTab1Activity1.class);
  startChildActivity("MainTab1Activity1",faIntent);
  </code></pre>
  
  <p>MainTab1Activity1</p>
  
  <pre><code>Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
  intent.putExtra("output", "EXTRA_OUTPUT");
  Calendar c = Calendar.getInstance();
  SimpleDateFormat sdf = new SimpleDateFormat("yyyyy_MMM_dd_hh_mm_ss_aaa");
  intent.putExtra(MediaStore.EXTRA_OUTPUT,Uri.fromFile(
  new File(FindAnimal.fileOutput+"/"+"Random"+sdf.format(c.getTime())+
  "_"+currentImageValue+".jpg")));
  intent.putExtra("outputFormat", Bitmap.CompressFormat.JPEG.toString());
  Tab1GroupparentActivity = (Tab1Group)getParent();
  parentActivity.startChildActivity("TakePic",intent);
  //parentActivity.startIntentForResult(intent,CAMERA_PICTURE);
  </code></pre>
  
  <p>So the goal is to get the picture result back from the camera and currently this doesn't happen.  If I try the last commented out part, it trys to reinitialize Activity A code.</p>