It is possible, by implicit intent, to open the second (not MineActivity) in another Android application or use BroadcastReceiver as a rule.
1 answer
It works!
new Intent().setComponent(new ComponentName(Package, Class)); but this is not what I'm looking for ...
manifesto something like this:
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".SecondActivity" android:label="SA" <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> </intent-filter>--> - spied a response on services, thanks xkor - Nick
|