- The
ACTION_MAINaction indicates this is the main entry point and does not expect any intent data. - The
CATEGORY_LAUNCHERcategory indicates that this activity's icon should be placed in the system's app launcher. If the<activity>element does not specify an icon withicon, then the system uses the icon from the<application>element.
These two must be paired together in order for the activity to appear in the app launcher.
版权声明:本文为g19920917原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。