Android-Manifest file details

Source: Internet
Author: User

Manifest file details


Address: http://blog.csdn.net/caroline_wendy/article/details/20899281


ManifestCustomizableApplicationsAndComponentsAndRequired structure and metadata Array.

Android documentation: http://developer.android.com/guide/topics/manifest/manifest-element.html

Hello_World,AndroidManifest. xml:

 
                         
                                  
               
              
 

Xmlns: xml namespaceAndroid namespace;

Package: Name of the package used by the program;

Application:Manifest must contain (must contain) nodes and use various attributes to specify various metadata of the application;

Activity:An optional tag of the application that declares an Activity (a subclass of the Activity) to implement some functions of the visual user interface of the application;

Intent-filter:Destination filter, which starts the Intent of the activity );

Action:The required (must contain) tag of intent-filter, and the activity of the destination filter;

Category:The optional (can contain) label of intent-filter, the type of the destination filter;


In actions and category,Name attributeMeaning, marked in the Intent document;

Documentation:Http://developer.android.com/reference/android/content/Intent.html


Manifest can also be usedAndroid Manifest Editor (Eclipse)Manages XML files and interfaces;

In Android StudioNoSuch features;



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.