Modify Or Update Contacts Using Intent Programmatically
I would like to intent to the android contact window to update or modify a user contact details. The code below works fine, however, it does not pass the correct phone number to th
Make sure the Cursor is initialized correctly before accessing data from it." it works in my code.
1.Try to position cursor by moveToFirst before reading data from it.
2.check for null-> if (c != null && c.moveToFirst()) {}
3.check for count-> (c != null && c.getCount() >0 && c.moveToFirst()){}
Post a Comment for "Modify Or Update Contacts Using Intent Programmatically"