title: Why is my app not showing in the list of default launchers?
body: <p>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?</p>
  
  <p>Here is how I am sending the intent:</p>
  
  <pre><code>Intent startMain = new Intent(Intent.ACTION_MAIN);
  startMain.addCategory(Intent.CATEGORY_LAUNCHER);
  startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  startActivity(startMain);
  </code></pre>
  
  <p>Here the relevant part of the manifest:</p>
  
  <pre><code>&lt;activity
          android:name=".NewHome"
          android:label="@string/title_activity_main" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.HOME" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  </code></pre>