Android Learning Advanced Route Android source sharing)

Source: Internet
Author: User

More than August years of graduation, accompanied by the promotion of Android experience. Careful consideration of the past work, the finger count is also very poor---main maintenance FM

Audio module, or look at the code of the Lancher module. Despite this, in general, in this eight months of study, I feel the harvest is very large---self-taught a lot of

Knowledge of Android-related aspects. Although the real Daniel still has a long way to go, he will persist in learning, adhere to go on.

Once again, summed up some of the lessons of their own learning process summarized, to help those who have just stepped into the Android and have made some experience but do not know how to

I hope you can see the dawn of Hope in the Android world as soon as possible. At the same time welcome all friends to shoot bricks.

In addition, some of the learning routes summarized in this paper are for Java upper application development. The development of middle-tier related is not involved.

First, the skills required to master the basic article are as follows:

1. Master the basic control and the use of the container control;

Common basic controls are: Button, TextView, EditText, ListView, etc.

Commonly used container controls are: Framelayout, LinearLayout, relativelayout, etc.

2, master the registration and use of the relevant listener:

Common listeners are: Onclicklistener, Onlongclicklistener, Onitemclicklistener, etc.

3, master the use of log and analysis methods;

4, master the activity, service life cycle and use method;

5, Master the Broadcastreceiver (broadcast) acceptance and use;

6, master the use of intent and intentfilter;

7. Basic knowledge of database

In addition, we have to master the use of the ADB shell, common functions are:

ADB pull, adb push, adb remount directive, etc.

Because the shell is similar to the Linux shell, we have to master basic Linux commands, such as Cat, CD, etc.

The main channels of knowledge acquisition are:

Android SDK and online Daniel's blog.

Attached: about the basic knowledge of the introduction, some of the domestic book quality is quite poor, bland. It is strongly not recommended to buy books at this stage.

At this point, you have become a small, able to master the basic Android development. Here, I recommend a hands-on video on Android projects

Practice is the real truth. This stage, you can write some of your own small demo, help yourself in a deeper development.

PS: I read the Mars teacher after the video, wrote a simple music player demo, feel quite a sense of accomplishment.

Through the previous study, we can successfully enter the second stage.

Second, improve the skills required to master the following:

1, master the use of canvas class -How to draw

2. Mastering the message communication mechanism ---the use and principle of handler related classes

3. Mastering the Context class and implementing principle

4, Master the View tree drawing process . The view drawing process is important, and mastering it is basically one of the android cores.

4.1. Mastering the distribution process of touch events---onintercepttouchevent and ontouchevent method flow

4.2, master the relevant listener call mechanism. For example, how to call Onclicklistener when listening?

4.3. Ability to write custom view and ViewGroup

5, Understanding the binder mechanism ----Binder mechanism is very important, Android communication between the process is done by it. Master it, can be good enough to complete the next

To learn.

6, the basic grasp of the use of Activitymanagerservice class, the main knowledge points include the following:

6.1, startactivity () process, that is, to start a process of activity;

6.2, StartService () process, that is, the process of initiating a service;

7, the basic grasp of the use of Packagemanagerservice class, the main knowledge points include the following:

7.1. How to resolve the APK package information for all installed applications when booting

7.2, intent and intentfilter matching rules and parsing process

8, the basic grasp of the view added to the window process---namely the use of WINDOWMANAGERIML, Windowmanagerservice class

Knowledge Channel:

Online related to Daniel's blog. (I also have a bit of goods in this acres of three cents.) (*^__^*) )

Required books: <android Kernel anatomy >

Android source code one copy

PS: You must have a copy of the Android source code on your PC, otherwise why smile proud of the lake.

Third, advanced article

1, basic understanding of Systemserver class loading process and watchdog function

2. More ...

I am also a small rookie, more do not know. Hope to be able to improve later. And we grow together.

Finally, I summed up some of the learning points is just a sketchy, to help you learn the point or line of growth. For example: I am responsible for the Address Book module, of course, the data

Knowledge of the library is clear. Otherwise, what the company wants me to use. So when you are learning, find the point that suits you better.

Some people may think that I can't use it at work, why do you learn it? Again also exhort everyone in the work, to recharge their own charge, learn a little bit more knowledge only good not bad.

I hope that everyone can progress a little, grow a little, close to the idea of the sky a little closer.

And the process needs of the pre-preparation knowledge is insufficient, initially looks more difficult to understand, therefore, buy this "Android kernel Anatomy" is a must

, you can refer to the source code to understand carefully, strongly recommend the book.

Because Android source code on the network is not very easy to find, share under the Android part of the source code , mainly including the framework layer, middle tier, and some apps, etc., to the upper layer development

and middle-tier development are also beneficial:


Android Learning Advanced Route Android source sharing)

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.