11 Vote

Android App installs with multiple icons

Question by Guest | 2013-07-08 at 22:26

I have just written an own Android App and installed it on my smartphone.

The strange thing with this: while the App is properly installing in the emulator on my computer, the App installed with multiple icons on my mobile phone. Each Activity got its own icon!

I can start the main program or the main activity by using its icon, but when clicking on another icon from the sub-activities, an error message occurs.

What can I do? My App should only have one single icon!

ReplyPositiveNegative
1Best Answer1 Vote

Have a look at the file "AndroidManifest.xml" in your project and look up, what there is written between <activity ... </activity> for the individual Activities.

There, the Intent-Filter

<intent-filter>
  <action android:name="android.intent.action.MAIN" />
  <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>   

should only appear at the Activities, which should get an own start-icon. You can delete this section for all other activities.
2013-07-09 at 19:23

ReplyPositive Negative
Reply

Related Topics

Android Splash Screen Tutorial

Tutorial | 0 Comments

Android Getting Sound Levels

Open Question | 1 Answer

Important Note

Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.

Participate

Ask your own question or write your own article on askingbox.com. That’s how it’s done.