# HG changeset patch # User Oleksandr Gavenko # Date 1441832708 -10800 # Node ID 0d897830a5d30725e4c7bd17866eeddf95ee89ae # Parent 733104e6ad9a1258d96a78691c6f59abb0d7e358 Disable/enable application. diff -r 733104e6ad9a -r 0d897830a5d3 android.rst --- a/android.rst Wed Sep 09 14:51:48 2015 +0300 +++ b/android.rst Thu Sep 10 00:05:08 2015 +0300 @@ -82,10 +82,19 @@ $ adb shell 'pm list packages -f' -Uninstall application by it name:: +Uninstall application by its package name:: $ adb uninstall PACKAGE_NAME +Disable/enable application:: + + $ adb shell pm disable PACKAGE_NAME + $ adb shell pm enable PACKAGE_NAME + +List of disabled packages:: + + $ adb shell pm list packages -d + List currently run activities:: $ adb shell 'dumpsys activity'