Android Learning Path (two) project file itself using scene and file demo

Source: Internet
Author: User


iOS Discussion Group 1 group:135718460
1.src file: Java Source Storage folder

2.Gen File: Self-generated files generated by the Android development tools themselves, the most important thing in the folder is the R.java file, which is generated by the Android development tool itself. Android Development tools will take the initiative according to your storage Res folder resources, synchronization update revision R.java files, because R.java files are generated by the development tools themselves, so we should avoid manual changes R.java. R.java file in the application of the role of the dictionary, it includes a variety of resource IDs, through the R.java, the application can be very convenient to find the appropriate resources,
2.1r.java: The ID used to register various resources.

can refer to these resources by ID
3.: Resource folder. Used to store various resources used by the app, such as: Pictures. Files, the software uses the text AH.
3.1drawable &NBSP: A picture resource used to store different screen resolutions.


3.2Layout file: The resource file used to store the software interface

3.3Value file: Used to store data used by the app, such as size, string
4.Assets File: Resource folder. In addition to providing/res folder to store resource files, the/assets folder can also store resource files, pictures or data. However, in the/assets folder the resource file will no longer r.java itself to generate the ID, so read the/assets folder file must specify the path of the file. such as: file://android_asset/XXX.3gp
5.androidmanifest.xml Project manifest file
This file lists the features that the application provides, and the various components you develop later (Activity,contentprovider, Broadcastreceiver, Service) need to be configured in that file. Let's say the app uses a built-in application (such as phone service, Internet service, SMS service, GPS service, etc.), and you have to declare the use rights in the file.
6.default.properities Project environment information, generally do not need to change this file

Copyright notice: This article Bo Master original article. Blog, not reproduced without consent.

Android Learning Path (two) project file itself uses scenarios and file demos

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.