Hi,

I try to recover data from the phonebook to stock them into an
ArrayList.

I wrote this code to test on phone number data:

------------------------------------------------ Begin Code
------------------------------------------------------

Cursor c = getContentResolver().query(People.CONTENT_URI, null, null,
null, null);
int id = c.getColumnIndex(People.PRIMARY_PHONE_ID);

------------------------------------------------End Code
---------------------------------------------------------

But I don't know how recover values in this column.
I found exemple with a listView on Web, but i don't want to use a
graphic interface.

Somebody can help me please :)

Cecilia
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to