The following gif shows how the app "Amazon Underground" dismiss the dialog "installing app" after doing click on install button
Also, Amazon Underground apparently knows when user clicks on cancel button.
Similar questions:
Dismiss open/done installation dialog Android
Android handle cancel event when app install
android programmatically update apk and see the result of the installation
I would like to know how to do that programmatically. Anyone know how to do this?
Thanks
Update:
I've uploaded a video to Youtube where you can see the "Amazon installation process" compared with "Normal installation process". In second 22, I tap on install button and Amazon App dismiss/hides/close the dialog
No, it does not. This is a screencast of the user tapping on the install button. You can see the white dot of the "show pointer touches" developer option in the screencast.
An
ACTION_INSTALL_PACKAGE
Intent
can haveEXTRA_RETURN_RESULT
on API Level 14+ to find out when the user installs the app or rejects the installation.