Reputation: 100
I have two different codes for an android app. One of written in java, and the other one writed in adobe flex. The funcitonality is different for both programs. But it serves like a one program. I mean both of them are connected and when necessary first one intending the second one. I have to bundle them and when the user installs this bundle, the flex one shouldn't has an icon. So how can it become to one apk and one icon with saving the intends?
Upvotes: 0
Views: 335
Reputation: 496
In your manifest, each activity declared with a category of type Launcher has its own icon in the menu drawer.
<activity
android:name="fr.hozakan.productreminder.client.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Remove the category tag on the activity of your choice, then it should be OK
Upvotes: 1