i want know whether user allows autostart permissions of app. have tried this:
componentname mcomponentname = new componentname(getpackagename(),".autostartreceiver"); int = getpackagemanager().getcomponentenabledsetting(mcomponentname);
the autostart permission can granted , denied security app,but don't know how status in application. such picture
to list of receivers, registered specific intent, can use use packagemanager
, querybroadcastreceivers()
.
to list boot_complete
, construct intent boot_complete
action
Comments
Post a Comment