<action>

This is used to add an action to an intent filter. The <action> element is always a child element to an <intent-filter> element. An intent filter should contain one or more of these elements. If no action element is declared for an intent filter, the filter accepts no Intent objects. Its syntax is as follows:

<action name=""/>

The preceding name attribute is an attribute that specifies the name of the action being handled.

Get Kotlin Programming By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.