tags:

views:

30

answers:

1

Hi people,

I wrote an android application and after I run it, it occurs twice in main menu. I mean, there are two icons for this application, but only one could be open.

If I deinstall this application, I find only one entry in the application list.

It's the same, if application's running in simulator or on phone. And I don't have this problem with my other applications.

Any ideas???

Thanks a lot in advance.

Mur

+4  A: 

An almost identical question was asked a few days ago, but I can't find it right now.

Anyway - if you see your app twice, you either have two intents in your manifest file with the LAUNCHER category (make sure you have only one), or you changed the name of your package/class throughout the development process. Since you said that uninstalling it removes one copy, I'm tempted to suspect the latter.

EboMike
Thank you. I had two intents with LAUNCHER category. Now I have appliction icon only once. I would like to vote up for your answer, but I don't have enough reputation :)
Mur Votema
@Mur Votema: You should be able to accept the answer -- click the checkmark to the left of the question to mark it as accepted.
CommonsWare
Now you should be able to vote up... :)
Shouvik