 <p>For an <code>&lt;activity-alias&gt;</code> declared like this:</p> <pre><code>&lt;activity-alias android:name=".main.MainActivityAlias" android:targetActivity=".main.MainActivity"&gt; </code></pre> <p>The <code>ComponentName</code> can be created like this:</p> <pre><code>ComponentName componentName = new ComponentName("com.company.htmlapp", "com.company.htmlapp.main.MainActivityAlias"); </code></pre> <p>In my case I could also do it dynamically:</p> <pre><code> try { PackageManager pm = getPackageManager(); PackageInfo packageInfo = pm.getPackageInfo(this.getPackageName(), 0); ComponentName componentName = new ComponentName(packageInfo.packageName, MainActivity.class.getPackage().getName() + ".MainActivityAlias"); i.setComponent(componentName); } catch (PackageManager.NameNotFoundException e) { e.printStackTrace(); } </code></pre>