tags:

views:

27

answers:

1

I want to be able read all contacts in Android mobile version 1.5.

Please help me. list readble contant and example please thanks in advance

+1  A: 

For a ListActivity you can have

Cursor C = getContentResolver().query(People.CONTENT_URI, null, null, null, null);
startManagingCursor(C);

String[] columns = new String[] {People.NAME};
int[] names = new int[] {R.id.row_entry};

mAdapter = new SimpleCursorAdapter(this, R.layout.mycontacts, C, columns, names);
setListAdapter(mAdapter);
Pentium10