Androidで別のアプリケーションから1つのアプリケーションを開くことができることを知りました。だから私はそれandroid:exported="false"
を制限するために使用しています。しかし、ランチャーに同じタグを付けると、アプリケーションを開くことができません。
<activity
android:name="SplashScreen"
android:label="@string/app_name"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
(私のアプリケーションは任意のファイルを開くことができるはずなので、2 つのインテント フィルターを適用しています)