It took hours to finish the test, and Mono for Android launches other hidden apps with one app.
Look directly at the code:
Hide App (launched) to configure the manifest file as follows, remove the original two tags and modify it to only one data
<Activity>
<activity android:icon= "@drawable/icon" android:label= "iocpdroid" Android:name= "iocpdroid". Iocpactivity " android:exported=" true ">
<intent-filter>
<data android:host= "iocpdroid. Iocpactivity"android:scheme="com.iocp"/>
</intent-filter>
</activity>
<Activity/>
It is normal for the app to be launched without launch, because you are not adding it in the manifest file.
Launch app
Intent Intent = new Intent ();
ComponentName cn = New ComponentName ("COM.IOCP", "iocpdroid". Iocpactivity");
Intent. SetComponent (CN);
Uri data = Uri.parse ("com.iocp.iocpdroid.IOCPActivity");//This should be consistent with the label in data in the B program
Intent. SetData (data);
StartActivity (Intent);
The green part of the two app must be the same, otherwise it won't start.
Finally, you must add permission.
<uses-permission android:name= "Android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
Xamarin,mono for Android launches other hidden apps with one app