obtain the result of voice recognition in android
<p>I want to obtain the result of the service voice recognition.I mean I want to obtain what the user say. I try a code </p>

<pre><code>ArrayList&lt;String&gt; matches = data.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS);
if(matches.get(i).equals("funky monkey")){
Toast.makeText(this,"Excelent !",2000).show();
</code></pre>

<p>But I don't understand this line  if(matches.get(i).equals("funky monkey")) 
Can you help me to understand this line or to help me by other solution
thx   </p>
