Application auto-update with self-hosting
<p>I'm planning to self-host my application but not sure what is the best way to implement auto-update.</p>

<p>I'm planning to do following:</p>

<ol>
<li>Application checks if newer version available on server</li>
<li>If new version available - application will downloand APK to device's flash.</li>
<li>??</li>
</ol>

<p>My question is how do I initialize update from code? I understand user will need to confirm this action but I want to do as much work as possible myself. Do I need to call specific intent to do this?</p>

<p>I guess question is how do I install APK programmaticaly if it's already on device..</p>
