In This section we look at the various folders under the Android project, the role of the file, so that you have a clear understanding of the project files.
In. NET, we have solutions, project files, class files, resource folders and so on these things, in Android there are these corresponding things, from the following diagram we can understand
In the Package Exploer window, you can have multiple projects
1. In, HelloWorld is the project file
2. src folder is the folder where the classes are stored, and all the source code classes are stored here. Com.example.helloword is a package name, equivalent to a namespace in. Net
The class file is stored under the package name.
3.gen file is a system generated file that we do not need to change. It is also stored by namespace.
R.java is a system-generated file, Buildconfig.java is the generated configuration file
4. Android 4.3 folder, is the target version of Android running, which contains all the class libraries required for Android to run, such as camera, GPS, Bluetooth these related class library
5. Android Private Libraries folder, is a andrioid of some plugins.
6. Bin folder, generated when the system is running. Same as the bin folder in. Net
7.libs folder, which holds some class libraries that refer to third parties.
8.res folder is a resource folder, is also a very important folder to drawable the beginning of the folder, the main storage of different screen resolution device needs some resource files
The layout folder is primarily for Android page files
The menu folder is mainly stored in the menus file
The values folder mainly contains some configuration files for strings and styles
9. Androidmanifest is a project configuration file, type with. NET in the Webconfig
. NET programmers play to Android development---(5) Introduction to project documents