Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Android: Failure delivering result ResultInfo. What is wrong?
- String selection = ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME
- + " like'%" + name + "%'";
- String[] projection = new String[] { ContactsContract.CommonDataKinds.Phone.NUMBER };
- Cursor c = context.getContentResolver().query(
- ContactsContract.CommonDataKinds.Phone.CONTENT_URI, projection,
- selection, null, null);
Add Comment
Please, Sign In to add comment