Android - recognizer results null... need to put them into cursor ()
<p>I need the results from recognizer in my cursor statement below:</p>

<pre><code> if (requestCode == check &amp;&amp; resultCode == RESULT_OK){

        ArrayList&lt;String&gt; results = data.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS);
        lv.setAdapter(new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1, results));

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

<p>problem is the 'results' in line below:</p>

<pre><code> ContactsContract.Contacts.DISPLAY_NAME + "=?", new String[]{ results }, null); 
</code></pre>

<p>Does not accept my 'results' string as it is an arraylist variable and not string... the reults are from recognizer and when I say a word it converts to text, but i need either a real string set to get the cursor code to take or ?? thanks</p>
