ArrayList Phone_Numbers=new ArrayList();
First of all put all the number in the arraylist
then create a listview and set that arraylist to it.
Populating a ListView using an ArrayList?
then seta setonitemclicklisterner on that list for that have a look at below link
http://androidexample.com/Create_A_Simple_Listview_-_Android_Example/index.php?view=article_discription&aid=65&aaid=90
Explanation for below code
when you will click on the item on list below listener will be invoked and on that by using int position you can get the specific Phone Number.
listView.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view,
int position, long id) {
// in itemValue you will have the phone number.
String itemValue = Phone_Numbers.get(position);
//now call the function to open the dialer with that specified number
open_Phone_Dialer(itemValue);
}
});
public void open_Phone_Dialer(String phone_Number) {
Intent intent = new Intent(Intent.ACTION_DIAL);
intent.setData(Uri.parse("tel:" + phone_Number));
startActivity(intent);
}