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?
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With