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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---