Reputation: 522
I designed one Application in Android. When i upload this Application on device, it will display three icons of that application.
Which part of Android Manifest File is responsible to display the icon.Any idea?
Upvotes: 0
Views: 633
Reputation: 1518
See here Manifest file
android:icon="@drawable/ic_launcher"
And
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
Upvotes: 0
Reputation: 5857
Go to the manifest and remove the launcher intent from all activities but one
Only a single activity - the one you want opened when the user clicks the homescreen icon - should have the following intent filter:
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
Upvotes: 2
Reputation: 4857
See your AndroidManifest file. How many activities you have with next code:
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
You must have 3 activity for this case.
Also this is may be last package name of your project before you rename it.
Upvotes: 0