Android Application development Project Structure analysis

Source: Internet
Author: User

Beginner Android Development, preliminary understanding of Android Application project structure, Memo.

I. Manifest file Androidmanifest.xml

Function:

1, for Android platform call, for it to understand the information of this application, therefore, all components (Activity, Service, broadcast, etc.) need to register in Androidmanifest.xml.

2, labeling the first page activity.

Second, the code file

Function:

1. Realize application function

Third, layout files

Function:

1. Statically define the layout of the view in activity

Iv. Resource Index file R.java

Function:

1, define the various resources as internal static class, give the identity, so that the code to access the resource by identity

2. Link between layout file and code file by identity

Five, string index file String.xml

Function:

1. Unified Management of String resources

Android Application development Project Structure analysis

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.