- Android development in the androidmanifest. XML configuration root node <manifest> configuration details
- Android manifest.xml configuration <application> configuration details
- The <manifest> subtag configuration of androidmanifest.xml in Android development
- Android manifest.xml configuration <activity> tag configuration details
- Android manifest.xml configuration <activity-alias> tag configuration details
- Androidmanifest.xml configuration for implicit Intent tags
- Android development in the Androidmanifest. XML configuration of service, receiver tag configuration details
This article focuses on sharing the configuration in the activity-alias node. If there are any mistakes, please correct them. More Android technology sharing can pay attention to my Android technology circle, you can also join QQ group number :690347536, learn to exchange Android development skills.
An alias for an Activity that supports intent-filter,meta-data, and other Settings independently, so that it can start some function logic that is different from the target Activity. For example, you can use the configuration of this property to generate a launch icon on the desktop as a shortcut to the target Activity.
Android :enabled This property determines whether the target Activity can be instantiated by the system through an alias. The default value is true.
2. Android: Exported This attribute determines whether the target Activity can be invoked by other applications. If false, it can only be invoked by the application itself.
This is useful if you want to create a shortcut on your desktop, which can be different from the app icon.
4. Android: Label Indicates the text displayed under the icon when a desktop shortcut is generated.
The permissions required to invoke the target Activity through an alias declaration.
6. Android :targetActivity the full package name of the targetActivity class name.
Follow for more Android technology sharingMy Android tech circle, you can also join QQ group number :690347536 to learn and exchange Android development skills.