Android Learning 2--project file list simple analysis

Source: Internet
Author: User

The list of default project files created with Eclipse is as follows:

The SRC:SRC directory is the source program directory for Android projects, which is used to store the source code of the Java project

The Gen:gen directory holds all automatically generated files, and the most critical files in this directory are R.java. This file is automatically generated when the project is created, which contains the ID number of the resource in the Android layout file.

Assets:android In addition to providing the Res folder for storing the resource files in the Android project, the assets folder is also provided for storing the resource files, and the ID number of the resource files stored in this folder will not be written to the R file, so You must specify the path to the file when you read the files in the Assets folder.

The Bin:bin directory below has an APK file, which is the installation file for the app, equivalent to the setup file under Windows

Res:res folder is a resource file, examples, data, etc., in the drawable is stored in the picture resources,
DRAWABLE-LDPI: Pictures with relatively low picture quality
DRAWABLE-MDPI: Picture of normal image quality
DRAWABLE-HDPI: HD pictures
DRAWABLE-XHDPI: Ultra HD image
DRAWABLE-XXHDPI: Ultra HD image

The layout file for the activity in the application is stored under the Layout folder.

The Strings.xml in the value folder is the string key value pair used in the application

Androidmanifest.xml file: This file is a manifest file for an Android application, such as setting the application's permissions information, and all activity must be registered in this file.

Android Learning 2--project file list simple 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.