You can't 'automatically' upgrade your application. It always need user approval.
When installing an APK, the user will be informed of the permissions and he/she can decide to install or upgrade the application. This is a good thing. If apps could automatically upgrade themselves, without user consent/confirmation, that would be an enormous security hole. On Mar 27, 8:11 am, A R <[email protected]> wrote: > Hello Everyone, > > Is it possible for an app to upgrade itself? > > I am trying it but it doesnt seem to work. My app downloads its > upgrade, starts the upgrade/installation process which finishes > successfully but when I start the app its still the old one. > > When I installed my app normally I was seeing "Not granting > permission android.permission.INSTALL_PACKAGES to package <package > name>" in logs. > > So based on another > threadhttp://groups.google.com/group/android-developers/browse_thread/threa... > I installed the app in /system/app folder so now there is no error > message but result is still same. > > Do I need a separate installer app to upgrade my app? > > Kindly advice. > > Regards, > Amit. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

