Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Package Installer misbehavior

Tags:

android

I am unable to understand and fix the following behavior displayed by the Package Installer.

In my application when I press on an "update application" button, I download from a web server un update apk (in case there is) and start the Package Installer afterwards to install the package. Everything goes well and after the installation finishes there is displayed a view with two buttons "open" and "done".

However pressing the "open" button fails to open the installed update as it should, even if the intent to the startup activity is sent as I observed in logcat. Pressing on menu button and going through the applications installed I am able to find the updated app and start it from here.

What should I do to start the update by pressing open in the final Package Installed view?

like image 969
klaus johan Avatar asked Apr 21 '10 18:04

klaus johan


People also ask

What is package installer on my phone?

Package Installer is the service that runs in the background when you install, update, or uninstall apps on your Android device. Put simply, it's an app that installs and uninstalls other apps.


1 Answers

Would it not be better to let the Android market place app handle the update process of your app instead of downloading and installing the apk yourself in your app?

Your question doesnt specify why you are doing this, if you have a specific reason, do update your question and i will try to have another look.

regards

like image 145
DEzra Avatar answered Sep 28 '22 08:09

DEzra