title: Bundle extra is returning NULL
body: <p>I'm having a problems.</p>
  
  <p>In a class "A" I have the code:</p>
  
  <pre><code>Intent cInt = new Intent(Add_Product_Page.this, CategoryListActivity.class);
  Bundle extra = new Bundle();
  extra.putBoolean("for_result", true);
  startActivityForResult(cInt, GET_CATEGORY, extra);
  </code></pre>
  
  <p>This code is from another class that starts the activity</p>
  
  <pre><code>Bundle extra = getIntent().getExtras();
  
          if (extra != null) {
  
              isforResult = cInt.getBooleanExtra("for_result", true);
              setIsforResult(isforResult);
  
          } else {
              setIsforResult(false);
          }
  
          getSupportActionBar().setDisplayHomeAsUpEnabled(true);
          getSupportActionBar().setTitle("Category");
  
      }
  </code></pre>
  
  <p>I debugged <strong>Class A</strong> and I got the value of <strong>extra</strong> as true but when I am debugged <strong>another class</strong> I am getting <strong><em>NULL</em></strong> in the <strong>extra</strong></p>
  
  <p>Can anybody help me.</p>
  
  <p>Thanks in advance</p>