<intent-filter android:icon="drawable resource" android:label="string resource" android:priority="integer" > . . . </intent-filter>
Most of the contents of the filter are described by its
For a more detailed discussion of filters, see the separate Intents and Intent Filters document, as well as the Intents Filters section in the introduction.
This attribute must be set as a reference to a drawable resource
containing the image definition. The default value is the icon set
by the parent component's
icon attribute. If the parent
does not specify an icon, the default is the icon set by the
For more on intent filter icons, see Icons and Labels in the introduction.
The label should be set as a reference to a string resource, so that it can be localized like other strings in the user interface. However, as a convenience while you're developing the application, it can also be set as a raw string.
The default value is the label set by the parent component. If the
parent does not specify a label, the default is the label set by the
For more on intent filter labels, see Icons and Labels in the introduction.
It controls the order in which broadcast receivers are executed to receive broadcast messages. Those with higher priority values are called before those with lower values. (The order applies only to synchronous messages; it's ignored for asynchronous messages.)
Use this attribute only if you really need to impose a specific order in which the broadcasts are received, or want to force Android to prefer one activity over others.
The value must be an integer, such as "
100". Higher numbers have a