populating table and selecting the rows for editing with android
===

I was having problems with populating the tables in android with SQLite data dynamically and after populating it i hope that the rows are selectable for editing the information in that specific row. the layout of the table that i desired was something like below.

        ID|name|address|phone number|
         1| Peter|NYC   |1800-900000|
         2| Parker|LAC  |1900-909090|
 i was hoping that someone here can help me with it as i am new to android programming. 
Thanks in advance