Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8098367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:03:38+00:00 2026-06-05T22:03:38+00:00

<activity android:name=ApiDemos> <intent-filter> <action android:name=android.intent.action.MAIN /> <category android:name=android.intent.category.DEFAULT /> <category android:name=android.intent.category.LAUNCHER /> </intent-filter> </activity>

  • 0
<activity android:name="ApiDemos">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

-Can any one explain about main, default and launcher what are the use of those properties in manifest for activity if used more than 1 activity in my project?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T22:03:40+00:00Added an answer on June 5, 2026 at 10:03 pm

    android.intent.action.MAIN matches all of the activities that can be used as top-level entry points into an application.

    The LAUNCHER category says that this entry point should be listed in the application launcher.

    The default category is required for the Context.startActivity() method to resolve your activity when its component name is not explicitly specified.

    So category LAUNCHER + action MAIN let the icon for this Activity show up in the launchers list of available “applications”.

    You can have this intent-filter on more than one Activity in your AndroidManifest.xml and all of them will show up in the list off “applications”.

    Intents are documented here and IntentFilters here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is my intent-filter code... <activity android:name=IntentReceiver> <intent-filter> <action android:name=android.nfc.action.TAG_DISCOVERED/> <category android:name=android.intent.category.DEFAULT /> <data
SOLUTION: <activity android:name=.Specials android:label=@string/app_name > <intent-filter> <action android:name=com.kita.MyGardenCenterApp.SPECIALS /> <category android:name=android.intent.category.DEFAULT /> </intent-filter> </activity>
To call main activity I saw componentName class in android. intent = new Intent(new
I have an Android activity with a list. Each item can be clicked and
I have an activity who's orientation is locked to portrait: <activity android:name=MainActivity android:label=@string/app_name android:screenOrientation=portrait
I have this configuration for my application. <application android:label=@string/app_name android:theme=@android:style/Theme.Holo.Light> <activity android:name=.MainActivity android:label=@string/app_name> I
If I use this code in my Manifest file: <activity android:name=.MyAct android:label=@string/app_name android:configChanges=orientation|keyboardHidden> //<-SEE
I have an application in Android, I've changed the main Activity, and now nothing
In my Android app, I have a main activity that serves as an entry
I have set these in the android manifest.xml file: activity android:name=.HelloActivity android:label=@string/app_name android:configChanges=orientation android:screenOrientation=landscape>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.