Contacts Adding In Arraylist For Listview Error
Hi in my project i have to fetch a contacts phone number and the name from the phone.I can get call the phone number and name but when i add it to the ArrayList
Solution 1:
Put this in while loop
map1 = new HashMap<String, String>();
like
while (phones.moveToNext())
{
map1 = newHashMap<String, String>();
.
.
}
Post a Comment for "Contacts Adding In Arraylist For Listview Error"