Each activity with
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
in your AndroidManifest.xml will show up in the launcher.
So if you want to see only one icon for one activity in the launcher,
then only that one activity should have the quoted intent filter set.

--
http://www.deepdroid.com

On Mar 20, 12:09 am, moblmojo <[email protected]> wrote:
> How do you get only one icon to display in the main menu? All of
> my .java files have their own separate icon in the main menu. Is this
> because of the activity or the .java file, or what? They all use the
> same icon, although I have only specified it in the main application
> activity.
>
> Users can click a different icon and get into the activity without
> going through the main application menu.
>
> I want one icon displayed only, any help?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to