Beginner Android Development, preliminary understanding of Android Application project structure, Memo.
I. Manifest file Androidmanifest.xml
Function:
1, for Android platform call, for it to understand the information of this application, therefore, all components (Activity, Service, broadcast, etc.) need to register in Androidmanifest.xml.
2, labeling the first page activity.
Second, the code file
Function:
1. Realize application function
Third, layout files
Function:
1. Statically define the layout of the view in activity
Iv. Resource Index file R.java
Function:
1, define the various resources as internal static class, give the identity, so that the code to access the resource by identity
2. Link between layout file and code file by identity
Five, string index file String.xml
Function:
1. Unified Management of String resources
Android Application development Project Structure analysis