Hi,
Thanks for the reply.
Here is my code sample.
<activity android:name=".mainApp" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".education" android:label="@string/education">
<intent-filter>
<!-- What goes here instead of MAIN or LAUNCHER? -->
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
What do I need for the intent information for activities that are within the
main app, but not the root activity? Education is an activity that a user can
launch after getting into the mainApp activity.
Thanks.
> Date: Thu, 19 Mar 2009 19:08:13 -0700
> Subject: [android-developers] Re: Extra Icons in Menu
> From: [email protected]
> To: [email protected]
>
>
> On Mar 19, 4:44 am, Grant Kimm <[email protected]> wrote:
> > Hi,
> >
> > When I run my app, I see about 8 or 9 icons in the main phone menu. One
> > is to run the app, and the others actually run activities within the
> > app.
> >
> > I want there to only be one icon for users. Any ideas as to why this is
> > happening?
> >
> > My code is structured similar to examples from the book "Android - A
> > Programmers Guide" by JF DiMarzio.
> >
> > How do I hide the other icons so users have to start at the main menu
> > screen?
>
> Check your manifest for these lines:
>
> <intent-filter>
> <action android:name="android.intent.action.MAIN" />
> <category android:name="android.intent.category.LAUNCHER" />
> </intent-filter>
>
> Make sure you *only* have those under your main activity, the one you
> want to appear in the launcher.
>
> Jesse
> >
_________________________________________________________________
Windows Live™ Groups: Create an online spot for your favorite groups to meet.
http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---