SHARE
TWEET

Untitled

a guest Jan 12th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Android: Failure delivering result ResultInfo. What is wrong?
  2. String selection = ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME
  3.             + " like'%" + name + "%'";
  4.     String[] projection = new String[] { ContactsContract.CommonDataKinds.Phone.NUMBER };
  5.     Cursor c = context.getContentResolver().query(
  6.             ContactsContract.CommonDataKinds.Phone.CONTENT_URI, projection,
  7.             selection, null, null);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top