Android - Cursor result search string error, need search DISPLAY_NAME for match
<p>I need to search the DISPLAY_NAME field 1st and last name and have tried this code:</p>

<pre><code>ContentResolver cr = getContentResolver(); 
Cursor cur = cr.query(ContactsContract.Contacts.CONTENT_URI, null,     ContactsContract.Contacts.DISPLAY_NAME + " like %?%", new String[]{ results.get(0) }, null); 
</code></pre>

<p>if (cur.getCount() > 0) { </p>

<p>I get error in log cat from the %'s in the cursor line.
Any advise would be appreciated. ??</p>
