In the forum to see a lot of people want to cancel the application of boot, so I want to know how to achieve, but Baidu a bit, the results are how to let the application boot, Baidu search data more and more no hope.
Finally, Google gets a result,
<span style= "FONT-SIZE:18PX;" >PM Revoke Com.android.livevideo android.permission.receive_boot_completed</span>
Although prompt (guess with system permissions on OK)
Operation not allowed:java.lang.SecurityException:Permission Android.permission.RECEIVE_BOOT_COMPLETED are not a Development permission
But at least know how to achieve, wait for the holiday, first write down the blog.
The following methods are used to query the PM command:
use Android package Manager
PM
usage: pm [list|path|install|uninstall] pm list packages [-f] pm list permission-groups pm list permissions [-g] [-f] [-d] [-u] [GROUP] pm list instrumentation [-f] [TARGET-PACKAGE] pm list features pm path PACKAGE pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f] PATH pm uninstall [-k] PACKAGE pm enable PACKAGE_OR_COMPONENT pm disable PACKAGE_OR_COMPONENT pm setInstallLocation [0/auto] [1/internal] [2/external]
ExamplesInstall the package com.twitter.android-1.apk from the SD card
pm install /sdcard/com.twitter.android-1.apk
List installed packages that contain the term
Twitter
pm list packages | grep twitter
Show The install directory of the Twitter package
pm path com.twitter.android
Http://www.kpbird.com/2013/05/android-shell-command-pm-package-manager.html
ADB shell PM Command First knowledge, prohibit application boot command