title: How to send data to created activity on Android
body: <p>I need to send data from EditText in activity A to Activity B.
  I tried:</p>
  
  <pre><code>Intent intent1=new Intent(A.this,B.class);
  intent1.putExtra("fromA", "text");
  startActivity(intent1); 
  </code></pre>
  
  <p>But It doesn't work, because activity B has <code>android:launchMode="singleTask"</code> and was created before.</p>
  
  <p>How else, can I send data?</p>