SoFunction
Updated on 2025-04-10

Android android:exported = true usage details

Introduction to Android-related properties:android:exported = true

  1. 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.
  2. android:exported is a property that is found in the four major components of Android Activity, Service, Provider, and Receiver.
  3. 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.