Introduction to Android-related properties:android:exported = true
- In the Activity, this property is used to indicate whether the current Activity can be started by another Application component: true is allowed to be started; false is not allowed to be started.
- android:exported is a property that is found in the four major components of Android Activity, Service, Provider, and Receiver.
- Overall, its main function is whether other applications support calling the current component.
For example:
<activity android:exported="true" …/>
Notice:
AndroidManifestmiddleandroid:exported="false"
If the AndroidManifest of Service etc. declares as android:exported="false"
Then the service cannot be used across processes.
Permission Denied!
Need to change to:android:exported="true"
The above is all the knowledge points introduced this time. Thank you for your reading and support.