Android.intent.action.MAIN
Determine the activity that the application starts first
Android.intent.category.LAUNCHER
Determine if the application appears in the program list
See articles on the Internet
Android.intent.action.MAIN and Android.intent.category.LAUNCHER
Always know that adding these 2 things means that the activity that started at the start of the program went online and looked up the following:
Android.intent.action.MAIN determines which application starts first
Activity Android.intent.category.LAUNCHER Determines whether the application appears in the program list
So there is no need to add launcher, try to get rid of launcher results OK ~ ~ ~ The program was installed successfully, but I can not find AH.
If an app doesn't have launcher, the APK can still be installed on the device, but it won't be visible on the desktop. If the activity is set to the launcher, and the main is set at the same time, the activity can appear in the program icon, if there is no main, you do not know which activity to start, so there will be no icon appears.
So, ~~main and launcher must appear together,
I tried to give 2 of the activity to the main and launcher.
Find out which of your activity in front of which first start, and in the program list there are 2 program icons run separately, the results can be imagined, respectively, the two activity.
(EXT) http://blog.csdn.net/qianquanyiyan/article/details/8551848
(turn) Android.intent.action.MAIN and Android.intent.category.LAUNCHER