How to call one android application from another android application
<p>I want to call one android application from another application </p>

<p>I have tried some <a href="http://www.anddev.org/install-run_applications_from_within_another_application-t6909.html">examples</a>, but they are not working for me, I'm getting a Package parse error.</p>

<p>Consider there are two applications: Application1 and Application2</p>

<p>I want to call Application2 from Application1</p>

<p>Here is the some sample code to do this:</p>

<pre><code>Intent i = new Intent();
i.setAction(android.content.Intent.ACTION_VIEW);
i.setDataAndType(Uri.fromFile(fileName),"application/vnd.android.package-archive"); 
startActivity(i);
</code></pre>

<p>Here <code>fileName = "file://data/data/package_name/files/Application1.apk";</code></p>
