I am working on a system application and I need to know programmatically what application intentions can process. I saw other questions related to this, but none of them seemed to answer, but did not seem to care about system privileges.
The PackageManager only seems to provide methods for requesting actions for a given intent. I cannot find a way to get intentions for this type of activity.
For example, if I have an activity that has intent filters defined as such:
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
<action android:name="android.intent.action.USER_PRESENT"/>
</intent-filter>
And I know the name of the project class and the name of the package, I would like to know from the package manager (or any other source) what it can handle (in this case, BOOT_COMPLETEDtoo USER_PRESENT).
source
share