1, SRC directory: The main is to complete the writing of Java code
2. Assets Directory: Resource Directory
3. Res directory: Existing pictures, layout files and strings, menu files, etc.
4. Bin directory: Output folder, such as build apk file
5. Configuration of Project.Properties Project properties file
6, Gen directory: The system automatically generated source code directory
7, R.java file is the system automatically generated files (very important), by default attr drawable layout string Four static internal classes,
Each class corresponds to a resource. If we add a picture to the project, a unique piece of data will be added to the drawable inner class, and if deleted, it will be deleted automatically.
8, Androidmanifest.xml is the necessary files in each Android program, it is located under the project with the donkey described the package exposed ideas, the following we have a description of the manifest file properties
<?xml version= "1.0" encoding= "Utf-8"?>
<!--
The package represents the primary inclusion of the entire Java application and is a default program name
Android:versioncode= "1" indicates that the project generated by the APK version number 1 began to upgrade,
Android:versionname= "1.0" represents the first name of a version
android:installlocation= "Auto" Automatically finds the default properties of the installed place, ROM or sdcard card
Internalonly can only be installed on ROM (memory)
Preferexternal directly onto the SDcard card (for large hand tours)
-
<manifest xmlns:android= "Http://schemas.android.com/apk/res/android"
Package= "Laotan.test"
Android:versioncode= "1"
Android:versionname= "1.0"
android:installlocation= "Auto"
>
<!--represents the authorization to add a user: such as authorized access to network-
<USES-SDK android:minsdkversion= "Ten"/>
<!--
android:icon= "@drawable/ic_launcher" represents a picture (logo) of the application
Android:label= "@string/app_name" denotes a textual description of the application project
-
<application
android:icon= "@drawable/ic_launcher"
Android:label= "@string/app_name" >
<!--
Intent-filter Intent Filter: Some actions and actions to filter the user
Android:name= "Android.intent.action.MAIN" represents the main program name for the entire application amount
Android.intent.action.MAIN indicates that the current program is an entry procedure for the entire project.
Category Android:name Indicates whether the application is displayed in the program list
-
<activity
Android:label= "@string/app_name"
Android:name= ". Myapplicationactivity ">
<intent-filter >
<action android:name= "Android.intent.action.MAIN"/>
<category android:name= "Android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>
To be continued .....
Introduction to Android-----Engineering Files Directory