How to automatically launch the Android installer after downloading the apk?
<p>When you install an app from Google Market, you have an install button, which downloads and automatically starts the installation program for the apk you just downloaded. It doesn't install it automatically, only it automatically launches the installer for the apk you just downloaded.</p>

<p>Is it possible to have a similar button if you have a apk file on your local server? How will the link look like?</p>

<p>I've read a lot of almost similar questions here (like this one
<a href="http://stackoverflow.com/questions/7439684/how-to-install-apk-automatically-when-the-file-download-is-complete-hosted-on-p">How to install APK automatically when the file download is complete (hosted on private)</a> or <a href="http://stackoverflow.com/questions/2643892/how-to-automatically-install-an-apk">how to automatically install an apk</a>), but none of the answers explained if Google uses something special for its market or is it possible to use a special kind of a link to force the installation program from the phone to automatically launch after download? Automatically LAUNCH, not automatically INSTALL the apk.</p>

<p>That is, when users scans my QR code with a QR code reader or types directly the URL in the browser, how can my application trigger the installer program right after download?</p>

<p>Let's say I do the following:
1. I generate a private key on my computer
2. I sign my app with my private key
3. I submit my app to Google market
4. I upload my app to my site.</p>

<p>When someone will download my app from Google Market, the following will happen:
a) That person will access the Google Market URL of my app
b) He will download it to his phone
c) The application installer from the phone will start automatically, and ask him if he agrees with the permission required by the app.</p>

<p>When someone will download my app from my site, the following will happen:
a) That person will access the Google Market URL of my app
b) He will download it to his phone
c) The application installer from the phone will NOT start automatically.</p>

<p>I don't want the app to install without any intervention from the user, just for the install process to start automatically after download.</p>

<p>My question is how to make c) to happen even if he downloads the same app, signed with the same signature, but from my site?</p>
