cancel
Showing results for 
Search instead for 
Did you mean: 

Two icon appearing in the simulator

Former Member
0 Kudos

I followed the link below for android application.while running the application two Icon appearing in the emulator( Datasample).Am attaching the screen shot of it

http://ebookbrowse.com/sup-tutorial-android-object-api-application-development-pdf-d331106547

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Probably, In the application activities,

            <intent-filter>

                <action android:name="android.intent.action.MAIN" />

                  <category android:name="android.intent.category.LAUNCHER" />

            </intent-filter>

Intent-Filter that creates the icon in the launcher, would have been added to more than one activities.. In your case, two activities would have had this Intent-Filter.. Thats why two icons are added in the launcher it seems..

Remove it from one of those activities.. You will get only one launcher icon..

Reward points if helpful.

Answers (1)

Answers (1)

Vlad
Advisor
Advisor
0 Kudos

Hello Arun,

Two icons were created because of a slightly incorrect application manifest file. The solution is available in these links:

http://stackoverflow.com/questions/3527263/android-app-actvities-installed-as-multiple-icons

http://stackoverflow.com/questions/4620353/android-app-development-two-icons-getting-created-and-i-o...

Kind regards,

Vlad