title: ZXing barcode scanner fails within ActivityGroup
body: <p>i created a little tabActivity application and like to run zxing and display the result without changing the tab using an ActivityGroup.
  Everything works fine without the ActivityGroup.</p>
  
  <p>And here's some code of the my ScanActivity. If i "enable" the activityGroup i'll never run into the onActivityResult...: </p>
  
  <pre><code>  class ScanButtonClickListener implements OnClickListener {
          @Override
          public void onClick(View v) {
              IntentIntegrator.initiateScan(BarcodeActivity.this);
          }
      }  
  
      public void onActivityResult(int requestCode, int resultCode, Intent intent) {
             IntentResult scanResult = 
                  IntentIntegrator.parseActivityResult(requestCode, resultCode, intent);
             Log.v("barcode", scanResult.getContents().toString());
     }
  </code></pre>
  
  <p>Here are parts of the manifest:</p>
  
  <pre><code>activity android:name=".barcode.BarcodeActivity"
   android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
   android:screenOrientation="portrait"&gt;
  &lt;/activity&gt;     
  &lt;activity android:name=".tabGroups.BarcodeTabGroupActivity"&gt;&lt;/activity&gt; 
  </code></pre>
  
  <p>and the TabGroupActivity, which only launches the barcodeActivity for now:</p>
  
  <pre><code>public class BarcodeTabGroupActivity extends TabGroupActivity {
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          startChildActivity("BarcodeActivity", new Intent(this, BarcodeActivity.class));
      }
  }
  </code></pre>
  
  <p>And a filtered log:</p>
  
  <blockquote>
    <p>08-04 15:59:02.093: DEBUG/DecodeHandler(4477): Found barcode in 1 ms<br>
    08-04 15:59:02.144: DEBUG/CaptureActivityHandler(4477): Got decode succeeded message<br> 
    08-04 15:59:03.792: DEBUG/CaptureActivityHandler(4477): Got return scan result message<br>
    android::CameraHardwareSec::stopPreview() : preview not running, doing nothing<br>
    08-04 15:59:03.941: INFO/WindowManager(109): Setting rotation to 0, animFlags=1 <br>
    08-04 15:59:03.957: INFO/ActivityManager(109): Config changed: { scale=1.0
    imsi=0/0 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=1 layout=34
    uiMode=17 seq=72}</p>
  </blockquote>
  
  <p>I think it must be something with the ActivityManager.. as soon as zxing ends, it returns showing the button and no result.</p>
  
  <p>Any tips? thanks in advanced!!</p>