passing EditText value through putExtra()
<p>how can i assign value of EditText to a string?
I want to pass this value to an another activity through putExtras().</p>

<h2>my code is :</h2>

<pre><code> EditText txtquantity=(EditText) findViewById(R.id.EditText01);
</code></pre>

<h2>     quantity_bundle.putString("quantity",txtquantity.getText());</h2>

<p>when I am doing like this an error is occured.
Please give me the solution...
Thank you...</p>
