title: Start Intent for activity-alias
body: <p>I set up some Alias for an activity with different meta-data.</p>
  
  <p>In this meta-data I set the name of the fragment which I then load by reflection.<br>
  I don't know if that is a "clean" solution, although by using Fragments and putting the functionality inside I had one SuperActivity and 2 Empty SubActivities just to specify each one in the manifest.</p>
  
  <p>The question is now: Can I start an alias by an Intent? <code>new Intent(Context, Class)</code> won't work because I can't find a way to set up the meta-data by an intent call.</p>
  
  <p>I would need to start an Intent by <code>&lt;activity android:name="XXX"/&gt;</code>, is there an easy way to do that?</p>
  
  <p>The generic activity and its alias, I need a new Intent of the latter:</p>
  
  <pre><code>    &lt;activity
          android:name="ActivityList"
          android:label="@string/app_name"
          android:launchMode="singleTop"
          android:screenOrientation="portrait" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
  
          &lt;meta-data
              android:name="android.app.default_searchable"
              android:value="ActivityListItem" /&gt;
          &lt;meta-data
              android:name="fragment"
              android:value="FragmentLocationList" /&gt;
      &lt;/activity&gt;
  
      &lt;activity-alias
          android:name="ActivityListItem"
          android:label="@string/locations"
          android:parentActivityName="ActivityList"
          android:targetActivity="ActivityList" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.SEARCH" /&gt;
          &lt;/intent-filter&gt;
  
          &lt;meta-data
              android:name="android.app.searchable"
              android:resource="@xml/searchable" /&gt;
          &lt;meta-data
              android:name="android.app.default_searchable"
              android:value="ActivityListItem" /&gt;
          &lt;meta-data
              android:name="fragment"
              android:value="FragmentItemList" /&gt;
      &lt;/activity-alias&gt;
  </code></pre>