Tablet has working Voice Search but code says no speech recognition capability
<p>I add internet permission to my manifest:</p>

<pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
</code></pre>

<p>I run this is my onCreate:</p>

<pre><code>    PackageManager pm = getPackageManager();
    List&lt;ResolveInfo&gt; activities = pm.queryIntentActivities(
            new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);
    CanRecog=0;
    if (activities.size() != 0)
    {
        CanRecog=1;
    }
</code></pre>

<p>BUT, when code runs, it reports no capability (CanRecog=0).
What else do I have to do to be able to use speech recognition from code?</p>
