title: Setting up Bundle and addExtras Vs passing string directy
body: <p>What is the difference? I am learning from tutorial how to pass a string from one to another activity and this person uses following code in order to take info from EditText of Data and pass it to TextView of OpenedClass:</p>
  
  <pre><code>public class Data {
  
      EditText sendET;
  
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          // TODO Auto-generated method stub
          super.onCreate(savedInstanceState);
          setContentView(R.layout.get);
      }
  
  
      @Override
      public void onClick(View v) {
          // TODO Auto-generated method stub
          switch(v.getId()){
          case R.id.bSA:
              String bread=sendET.getText().toString();
              Bundle basket=new Bundle();
              basket.putString("key", bread);
              Intent a= new Intent(Data.this, OpenedClass.class);
              a.putExtras(basket);
              startActivity(a);
              break;
          }
      }
  </code></pre>
  
  <p>//end here is the other class</p>
  
  <pre><code>public class OpenedClass{
  
  
      @Override
      protected void onPostCreate(Bundle savedInstanceState) {
          // TODO Auto-generated method stub
          super.onPostCreate(savedInstanceState);
          setContentView(R.layout.send);
  
          Bundle gotBasket=getIntent().getExtras();
          gotBread=gotBasket.getString("key");
          question.setText(gotBread);
  
      }
  
  }
  </code></pre>
  
  <p>Can't I just replace last 3 lines in OpenedClass with: </p>
  
  <pre><code>question.setText(Data.sendET.getText().toString());
  </code></pre>
  
  <p>and avoid creating Bundle, adding Extras, etc in Data class. What is the difference and why should i go for the more complicated one as visually it brings the same result. </p>