Getting corresponding field value from SQLite when clicking ListView item

view story

http://stackoverflow.com – I have used this code to get data from SQLite into a ListView. The database contains two columns; namely, name and number. Now the ListView contains names and I need to display the corresponding number when clicking on the name from the ListView to another intent. How can I do that? package com.example.helplines; public class Bank extends Activity { SQLiteDatabase db; ListView lv; String sname[]; int count=0; String values[]; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.bank); (HowTos)