in android: retrieve data from dynamically added fields in form

view story

http://stackoverflow.com – I am trying to develop a user input form where i take his details and store them in the form i have fields for his name, email, address, phone number etc. a person may have multiple emails or multiple phone numbers. he can add a field by clicking a button. and then i want to store the data entered by the user in a shared preference. i have a question: how do i retrieve data from dynamically added extra fields by the user? I have maintained a count for dynamically added fields for each field criteria (like email, phone etc) but i am stuck at the point where i am supposed to retrieve the da (HowTos)