hi i am adding a new contact to emulator
but in LOGCAT i get the error
08-24 18:16:44.833: ERROR/ContentProviderOperation(152): mType: 1, mUri: content://com.android.contacts/data, mSelection: null, mExpectedCount: null, mYieldAllowed: false, mValues: data1=xzzsf...
hi,
to display the contact i have used this coding
Cursor cursor = getContacts();
String[] fields = new String[] { ContactsContract.Data.DISPLAY_NAME };
//this.setListAdapter(new ArrayAdapter<String>(this,android.R.layout.simple_list_item_checked,));
SimpleCursorAdapter adapter =
new...
hi,
could any one send me the code for a contact apllication which displays name in a ListView. and in menu it should have a add contact and delete contact options.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.