how to call subactivity of another application android?
<p>To call main activity I saw componentName class in android.</p>

<pre><code>intent = new Intent(new ComponentName(packageNam,classname);
</code></pre>

<p>if same is used in case of child activity, I got error ,
<code>"is activity delcared in andorid manifest?"</code> like error.</p>

<p>how to call app1 child activity in app2 by using intent ?
In app1 the activity is declared like this in manifest</p>

<pre><code>&lt;activity android:name=".activity.MessageCompose" android:label="@string/app_name" android:enabled="false"&gt;
- &lt;intent-filter&gt;
  &lt;action android:name="android.intent.action.VIEW" /&gt; 
  &lt;action android:name="android.intent.action.SENDTO" /&gt; 
  &lt;data android:scheme="mailto" /&gt; 
  &lt;category android:name="android.intent.category.DEFAULT" /&gt; 
  &lt;category android:name="android.intent.category.BROWSABLE" /&gt; 
  &lt;/intent-filter&gt;
- &lt;intent-filter android:label="@string/app_name"&gt;
  &lt;action android:name="android.intent.action.SEND" /&gt; 
  &lt;data android:mimeType="*/*" /&gt; 
  &lt;category android:name="android.intent.category.DEFAULT" /&gt; 
  &lt;/intent-filter&gt;
- &lt;intent-filter android:label="@string/app_name"&gt;
  &lt;action android:name="android.intent.action.SEND_MULTIPLE" /&gt; 
  &lt;data android:mimeType="*/*" /&gt; 
  &lt;category android:name="android.intent.category.DEFAULT" /&gt; 
  &lt;/intent-filter&gt;
  &lt;/activity&gt;
</code></pre>
