title: Sending data from one activity to another startactivityforresult
body: <p>I searched on the forums but couldn't find the right answer for me.
  I've included the relevant parts below</p>
  
  <p>ACTIVITY ONE</p>
  
  <pre><code>implicitActivationButton.setOnClickListener(new OnClickListener() {
  
              // Call startImplicitActivation() when pressed
              @Override
              public void onClick(View v) {
  
  Intent myIntent = new Intent(ActivityLoaderActivity.this,
                  ExplicitlyLoadedActivity.class);
          startActivityForResult(myIntent, GET_TEXT_REQUEST_CODE);
              }
          });
  </code></pre>
  
  <p>and a little lower</p>
  
  <pre><code>  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
  
              Log.i(TAG, "Entered onActivityResult()");
  
  
              String input=data.getStringExtra(TAG);
              mUserTextView.setText(input);
          }
  </code></pre>
  
  <p>This is activity 2 after user enters some data</p>
  
  <pre><code>String input=mEditText.getText().toString();
  
  
      Intent i = new Intent(ExplicitlyLoadedActivity.this, ActivityLoaderActivity.class);
      i.putExtra("TAG",input);
      startActivity(i);       
      this.setResult(RESULT_OK);      
      finish();
  </code></pre>
  
  <p>No error messages at all but the text on screen doesnt update. it is supposed to</p>