It is possible, by implicit intent, to open the second (not MineActivity) in another Android application or use BroadcastReceiver as a rule.

  • Please clarify the question. In its current form, it does not agree with the solution you cited. - Nicolas Chabanovsky

1 answer 1

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