Tonight did not go to the laboratory, a person ran to the classroom to learn Android, the classroom is very cool, very quiet, is a good place to learn, gossip not to say, record their learning process, did not write a blog, maybe there is a little water, forgive me ~
The first lesson: Android Learning Route
(1) Basics and content of Android learning
Learning Android requires the following basics: (Of course, I am now small white, never learned Java, can only learn a little to fill a bit)
Java language Foundation, object-oriented Foundation, Java common design pattern (Factory mode, singleton mode, etc.), Java data structure and algorithm, relational database (MySQL and Oracle), JDBC database programming, HTML and JavaScript programming, Java Dynamic Web page programming
(2) The main content of this blog: (mainly the content of regular Android development)
UI interface design, Android database programming, Android service app, Android content provider, Android network programming, Android multimedia programming, Android asynchronous task load, Android sensor programming, Androi Google Maps development, Android Bluetooth development, Android WiFi programming, Android with WebService.
(3) Android advanced stage: (also not advanced level, in fact, is the development of the game, is not within the scope of this blog)
The picture is not inserted and is not inserted.
Second: The architecture of the Android system
(1) There are several main folders in Android: Src,assets,res,bin,project.properties,gen,r.java and so on.
SRC Directory: Main completion of Java code writing
Assets Directory: Resource directory, storage of various resources
Res directory: Store pictures, layout files, strings and menus and other files---drawable,layout,values;values below can be placed Strings.xml,arrays.xml,colors.xml, Dimens.xml,style.xml, etc.
Bin directory: Compiling the generated installation files apk is stored in this
Project.Properties Files: Project Properties profile
Gen Directory: The system automatically generated source code directory
R.java file: This is the system generated automatically, but it is very important in Android engineering, the default has attr,drawable,string,layout four static internal classes. Adding a data to the corresponding class adds a piece of data
Here's a look at the Androidmanifest.xml file
It is stored in the root directory, used to describe activities,services,contentprovider,intent receiver,permission and so on.
(2) What is activity (below some of the concepts of activities and life cycle)
Today for the moment to write here, wait to learn the data transmission, seemingly a bit difficult to understand, a good bite ~