install apk from url
<p>I try to install an apk from an URl, this is my code:</p>

<pre><code> Intent promptInstall = new Intent(android.content.Intent.ACTION_VIEW);
    promptInstall.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    promptInstall.setDataAndType(Uri.parse("http://10.0.2.2:8081/MyAPPStore/apk/Teflouki.apk"), "application/vnd.android.package-archive" );

       startActivity(promptInstall);
</code></pre>

<p>But i have this problem:</p>

<pre><code>   05-10 15:09:29.511: ERROR/AndroidRuntime(1668): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=http://10.0.2.2:8081/MyAPPStore/apk/Teflouki.apk typ=application/vnd.android.package-archive flg=0x10000000 }
</code></pre>

<p>Thanks in advance</p>
