how to call subactivity of another application android?
- by Are
Hi.
To call main activity I saw componentName class in android.
intent = new Intent(new ComponentName(packageNam,classname);
if same is used in case of child activity, I got error ,
"is activity delcared in andorid manifest?" like error.
how to call app1 child activity in app2 by using intent ?
In app1 the activity is declared like this in manifest
<activity android:name=".activity.MessageCompose" android:label="@string/app_name" android:enabled="false">
- <intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.SENDTO" />
<data android:scheme="mailto" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
- <intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.SEND" />
<data android:mimeType="*/*" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
- <intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.SEND_MULTIPLE" />
<data android:mimeType="*/*" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>