Silent install means application update method without any user interaction (confirm dialog, etc.).
It is useful when IT admin needs to update an application while user doesn't notice.
APPLIES TO
Point Mobile devices running with Android 6 and above
Using ADB Shell
$ adb shell am broadcast -a device.intent.action.SILENT_INSTALL --es device.intent.extra.PACKAGE_PATH "/storage/emulated/0/KeyCheck.apk" $ adb shell am broadcast -a device.intent.action.SILENT_UNINSTALL --es device.intent.extra.PACKAGE_NAME "aws.apps.keyeventdisplay"
Using Intent
Intent intent = new Intent("device.intent.action.SILENT_INSTALL"); putExtra("device.intent.extra.PACKAGE_PATH", "/storage/sdcard0/KeyCheck.apk"); sendBroadcast(intent); intent = new Intent("device.intent.action.SILENT_UNINSTALL"); putExtra("device.intent.extra.PACKAGE_NAME", "aws.apps.keyeventdisplay"); sendBroadcast(intent);
RELATED ARTICLES