title: how to send any data from activity to another activity?
body: <p>I have many Activities and in MainActivity and there is two Button  (B1-B2). In B1  (Activity1) will user write same data and after finish back to MainActivity
  and in B2 (Activity2) will get all date from (Activity1)</p>
  
  <p>(Activity1)</p>
  
  <pre><code> Intent i = new Intent(getApplicationContext(), Activity2.class);
      i.putExtra("new_variable_name","value");
  </code></pre>
  
  <p>(Activity2)</p>
  
  <pre><code>Bundle extras = getIntent().getExtras();
  if (extras != null) {
      String value = extras.getString("new_variable_name");
  
  
  }  
  </code></pre>
  
  <p><strong>this code doesn't work with me !!....any solve!!</strong></p>