pass listview values from one activity to another activity
<p>I have one list view and there are different values within it such as name, qty,unit,disc,price. I want to pass these values to next activity. I set 5 text boxes in new activity. this new activity is for update the values. how to pass values and display the same in new activity.???</p>

<pre><code> list.setOnItemClickListener(new AdapterView.OnItemClickListener() {
            public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {
                Intent myIntent = new Intent(getApplicationContext(), Update.class);
                myIntent.putExtra("ItemName", "value");
                startActivity(myIntent);
            }
    });
</code></pre>