SYNTAX (SYNTAX ):
<Categoryandroid: name = "string"/>
Contained in (contained in ):
<Intent-filter>
DESCRIPTION ):
Add a category name to a filter. For a detailed description of Intent Filters and the role of classification standards in Filters, see Intent and Intent Filters (http://blog.csdn.net/fireofstar/article/details/7330095)
ATTRIBUTES (ATTRIBUTES ):
Android: name
Define the category name. The standard category is defined by the CATEGORY_name constant in the Intent class. When defining this attribute value, replace GATEGORY _ with "andoid. intent. category." to associate the definition with a constant. For example, the constant CATEGORY_LAUNCHER In the Intent class is defined as android. intent. category. LAUNCHER in the filter category.
Custom categories should use the package name as the prefix to ensure that they are unique.
Introduction version (introduced in ):
API Level 1.
From FireOfStar's column