apk installation via my application
<p>i get parse error once i use my function below</p>

<pre><code>public void installFile()
{
    String path = "/data/data/com.utsc.smartdictate/";
    String filename = "smartdictate.apk";
    File file = new File(path + filename);
    if(file.exists())
    {
        Intent intent = new Intent(Intent.ACTION_VIEW);
        intent.setDataAndType(Uri.fromFile(file), "application/vnd.android.package-archive");
        startActivity(intent);
    }
}
</code></pre>

<p>i tried pulling the apk file from the emulator and tried installing it, to test if the file was corrupted or not, however it installed! so i dont know why it is failing.</p>

<p>EDIT: i have "android.permission.INSTALL_PACKAGES" permission added in the manifest</p>
