目录

Common action and entities Values (Not Recommended)

Due to the generalized use of the fields action and entities, the system lacks control over the behavior of applications declaring action and entities. This loophole allows malicious applications to make false declarations, hijacking traffic and rendering post-redirection features inoperative. As such, the system intends to deprecate unnecessary action and entities. You are advised to start an application of the specified type.

The action field specifies the common operation (such as viewing, sharing, and application details) to be performed by the caller. In implicit Want, you can define this field and use it together with uri or parameters to specify the operation to be performed on the data, for example, viewing URI data. For example, if the URI is a website and the action is ACTION_VIEW_DATA, the application component that supports access to the website is matched. Declaring the action field in Want indicates that the invoked application should support the declared operation. The actions field under skills in the configuration file indicates the operations supported by the application. Common actions values are as follows. For details, see action.

Common action values

The entities field specifies the additional category information (such as browser and video player) of the target component. It is a supplement to action in implicit Want. You can define this field to filter application categories, for example, browser. Declaring the entities field in Want indicates that the invoked application should belong to the declared category. The entities field under skills in the configuration file indicates the categories supported by the application. Common entities values are as follows. For details, see entity.

Common entities values