Android APP Program Structure

Source: Internet
Author: User
Tags constant definition

First look at the structure diagram:

======================================

1. /src Source directory, not explained.

2. The /gen gen directory is where ADT automatically generates code, primarily containing R.java or Aidl interface code. R.java represents the resources used to change the program.

3. Android 4.0 jar /Android Private Library /AndroidDependencies The official jar package of Android, the development of the app to use the base This jar.

4. /assets Program built-in resource files, put it here. such as a. db file, a video file, a PDF file, and so on.

5. /bin compiled file storage directory

6. /libs Third-party jar pack Placement

7. /res

(1) /res/drawable[-xxx] different size of the icon placement position;

(2) /res/layout layout file placement position;

(3) /res/menu menu layout file;

(4) /res/values[-xxx] constant definition file, text, color, etc...

8. Androidmanifest.xml

Description file for Android app, main definition:

(1) Application components such as activity, Service, broadcast receiver, etc.

(2) Required Permissions

(3) USES-SDK level

9. Proguard-project.txt  

Program compile-time obfuscation options, mainly to prevent the APK is directly decompile the source code.

Reference connection:

Http://android.yaohuiji.com/archives/53

Http://www.android-app-market.com/android-project-structure.html

 

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.