Hi all :
I want to read caontacts's Notes,Nickname,Organization,IM,Postal
address,Email,etc, to send to PC.
I only know use follow code to get ID, dislpay_name, photoID. But
don't konw how to get the other's info.
who can help me? thanks......
Cursor cur =
getContentResolver().query(ContactsContract.Contacts.CONTENT_URI,
null, null, null, null);
cur.moveToPosition(position);
cur.getString(cur.getColumnIndex(ContactsContract.Contacts._ID));
cur.getString(cur.getColumnIndex(ContactsContract.Contacts.DISPLAY_NAME));
cur.getInt(cur.getColumnIndex(ContactsContract.Contacts.PHOTO_ID));
--
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