Dismiss android dialog "installing app"

712 Views Asked by At

The following gif shows how the app "Amazon Underground" dismiss the dialog "installing app" after doing click on install button

dismiss dialog when click on install

Also, Amazon Underground apparently knows when user clicks on cancel button.

detect cancel dialog

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

1

There are 1 best solutions below

2
On

The following gif shows how the app "Amazon Underground" dismiss the dialog "installing app" after doing click on install button

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.

Also, Amazon Underground apparently knows when user clicks on cancel button.

An ACTION_INSTALL_PACKAGE Intent can have EXTRA_RETURN_RESULT on API Level 14+ to find out when the user installs the app or rejects the installation.