How to update the pre-installed application programmatically in android
<p>I am working on an app where app installs .apk file which is available on my local server.
 and if there is any update notification for the installed local server application,its need to update the application. I am using GCM to send notification to the android device for update and get the <strong>versionCode</strong> from notification and compare it with the installed .apk version. Upto this things are right. But I stuck with  how to update the per-installed local server application so that its setting doesn’t changes.</p>

<p>THANKS.</p>
