on 07-12-2012 7:46 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Kind regards,
Vlad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.