title: ZXING intent request code (identifying my intent)
body: <p>In my Android APP, whenever I need to call many different ActivitiesForResult from the same Activity, I do it like this:</p>
  
  <pre><code>public void firstMethod() {
      int requestCode = 1;
      Intent intent = new Intent(SomeCode1.class);
      startActivityForResult(intent,requestCode);
  }
  
  public void secondMethod()  {
      int requestCode = 2;
      Intent intent = new Intent(SomeCode2.class);
      startActivityForResult(intent,requestCode);
  }
  </code></pre>
  
  <p>And to know which intent it came from, I recognize them like this:</p>
  
  <pre><code>  public void onActivityResult(int requestCode, int resultCode, Intent data) {
    switch (requestCode) {
          case 1: {
                // some code 
          } case 2: {
                // some code
          }
    }
  </code></pre>
  
  <p>I am trying to call the ZXING barcode Scanner twice from the same activity, and I do not know how to set a request code with it.</p>
  
  <pre><code>    IntentIntegrator intentintegrator= new IntentIntegrator(this);
      IntentIntegrator.initiateScan(ZxingIntent.QR_CODE_TYPES);
  </code></pre>
  
  <p>Does anybody know how to accomplish this? Do I need to modify the IntentIntegrator code?</p>