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 8921889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:40:42+00:00 2026-06-15T06:40:42+00:00

I have an application where it is going to be the home screen, default

  • 0

I have an application where it is going to be the home screen, default launcher. I am implementing this by using the CATEGORY_LAUNCHER in my intent and CATEGORY_HOME in my manifest file, the home activity has ACTION_MAIN and CATEGORY_HOME. Because there are multiple homes set then android prompts the user to select one with the optional extra of selecting a default one. There are many default apps in this list on my emulator but my app is not one of them. Does someone know how to get my app onto the list?

Here is how I am sending the intent:

Intent startMain = new Intent(Intent.ACTION_MAIN);
startMain.addCategory(Intent.CATEGORY_LAUNCHER);
startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(startMain);

Here the relevant part of the manifest:

<activity
        android:name=".NewHome"
        android:label="@string/title_activity_main" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.HOME" />
        </intent-filter>
    </activity>
  • 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-15T06:40:43+00:00Added an answer on June 15, 2026 at 6:40 am

    If you want to show your application in Default launchers. Change your code as:

    <activity
            android:name=".NewHome"
            android:label="@string/title_activity_main" >
            <intent-filter>
                     <action android:name="android.intent.action.MAIN" />  
                     <category android:name="android.intent.category.HOME" />  
                     <category android:name="android.intent.category.DEFAULT" /> 
            </intent-filter>
        </activity>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that uses CATEGORY_HOME so that when you push the home
I have an application that is going to work like a p2p-software where all
I have an application which is going to be distributed to a hosting platform,
I have a multithreaded application that has many concurrent operations going on at once.
I have been asked to write an application that is going to act as
I am just going to submit my iphone application . But I just have
I have used spring MVC with JSP/JSTL for my previous application. I was going
I have application with needs to have access to some sensitive data(in this case
I have just started working on my first Android application and am going ok.
I have this application where I use Devise and, after login the user is

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.