After reading the Google map of Android, there are three after installing an APK.ProgramPortal icons, which correspond to three different functions! Easy to set
Both the activities respond to the main intent, for example:
<? XML version = "1.0" encoding = "UTF-8 "? >
<Manifest xmlns: Android =" Http :// Schemas.android.com/apk/res/android ";
Package = "com. foobar"
Android: versioncode = "1"
Android: versionname = "1.0" type = "codeph" text = "/codeph">
<Application Android: icon = "@ drawable/icon" Android: Label = "foobar">
<Activity Android: Name = ". foobar1" Android: Label = "foobar1" Android: taskaffinity = ". foobar1" >
<Intent-filter>
<Action Android: Name = "android. Intent. Action. Main"/>
<Category
Android: Name = "android. Intent. Category. launcher"/>
</Intent-filter>
</Activity>
<Activity Android: Name = ". foobar2" Android: Label = "foobar2" Android: taskaffinity = ". foobar2" >
<Intent-filter>
<Action Android: Name = "android. Intent. Action. Main"/>
<Category
Android: Name = "android. Intent. Category. launcher"/>
</Intent-filter>
</Activity>
</Application>
<Uses-SDK Android: minsdkversion = "3"/>
</Manifest>
Pay attention to the settings of taskaffinity in the simhei section.