Introduce Android-related attributes: android: exported = true

  1. Activity in this attribute used to indicate: whether the current Activity may be another component of the Application startup: true allowed to be started; is not permitted to false start.

  2. android: exported are four major components in the Activity Android, Service, Provider, Receiver of the four components would have for a property.

  3. Overall, its main role is to: whether to support other application that called the current component.

 
 E.g:
<activity  
android:exported="true" 
…/>
 
note:

AndroidManifest中android:exported="false"

  
  If AndroidManifest Service declared such as android: exported = "false"
, the service can not be cross-process use.
  Permission Denied!
  It needs to be changed: android: exported = "true"

Guess you like

Origin www.cnblogs.com/xuan52rock/p/11465050.html