Install update in android app from my website
<p>I am currently checking the application version in background every 24 hours once in my web server not in android market. If update available that it prompt the user to download the new apk. </p>

<pre><code>Uri uri = Uri.parse(downloadURL);
Intent intent = new Intent(Intent.ACTION_VIEW,uri);
startActivity(intent);
</code></pre>

<p>The above code open the user browser and start downloading.</p>

<p>I want without opening the browser i need to download the apk file or i need to install the latest apk directly without opening and other application (like browser)</p>
