Experience Sharing: Understanding of Android, Knowledge Point grooming

Source: Internet
Author: User

Objective

Writing this article is to describe my understanding of Android, but also to tell me the technical planning behind me, I hope to have a little reference value for everyone. We all want to learn Android, so how to learn it? This is very difficult to say, but I can communicate with you about my own experience, of course, only the application layer development, because I am focused on the application layer development.

Classification of knowledge

Android has a lot of knowledge points, although most of the knowledge points are not difficult, but the amount of a lot, this will give people a very trivial feeling. In this case, knowledge should be categorized, and my knowledge of Android is categorized as:
1. Basic Knowledge points  
      For example, how to use four components, how to create a service, how to lay out, and so on. This kind of knowledge needs to be mastered skillfully.  
2. Slightly in-depth knowledge points  
such as Aidl, Binder, multi-process, view drawing process, event distribution, Message Queuing, etc. This kind of knowledge is also necessary for senior developers.  
3. Details of basic points  
such as activity's startup mode and tag bit, There are a number of problems with service being in the start and bind states, Asynctask synchronous and asynchronous problems, and restrictions on use. This kind of knowledge point, everyone in the development process can not pay attention to, this will lead to a problem, that is, the development of the application is not a problem, but in the interview as long as the interviewer to ask a little details or special circumstances, will not hold.  
4. System core mechanism  
such as the main thread's message loop, how the main thread and how AMS interact across processes, Systemserver how the various service in the process works. This kind of knowledge is also recommended for senior developers because they allow developers to understand the Android operating system.  
5. Trivial points of knowledge  
Such knowledge points I define them as something important but not technically difficult, such as how to open a Web page, How to call, how to send text messages, how to locate, multi-touch, and so on, this kind of problem is often not good memory, but need to check it can be done immediately.

category Description the level required by the developer
Basic points of knowledge Master of Skills First Intermediate
In-depth knowledge points Master of Skills Senior
Details of basic knowledge points Master Senior
System core Mechanism Be familiar with and master Senior, Senior
Trivial points of knowledge Know All levels
How to learn

About Android Knowledge point of learning, is nothing more than reading, read official documents, write code, etc., this is the time needed to invest. Everyone is more easily confused is to see the Android source code, feel "do not understand", it is understandable. Look at the source of the time we want to focus on the process of grasp, at first do not tangle too much code details. Sometimes do not understand the words to see a few more times, so slowly there is familiar, familiar after can understand. In addition to see the source code to pay attention to the point, source so much from where to start? In fact, I suggest to find some of their own points of interest, for example, have you ever thought "when the activity started, when the object of activity when created?" "This problem, because Java is an object-oriented language, so activity has to create an object, with this question to analyze, it is also very interesting to uncover the mystery." In response to the above question how to analyze the activity of the object exactly when it was created, in fact, it is very simple, along the context of the StartActivity method to keep up with the good. Use this way to see the source code, when you see some themes will have a sense of penetration, and this feeling is actually a knowledge system, the knowledge system is built on the overall android. However, do not recommend you go up on the C-layer of the source code, you can have some understanding of the source code and then go to see. On the trivial point of knowledge, it is recommended that you do not spend too much time on the above, not much significance.

You know what it is.

In the process of learning, we must also have the spirit of questioning. A lot of knowledge we have, but why so, this problem may be a lot of people did not think about. For example, Remoteviews only supports limited system view, but why? Have you ever thought about it? If you think about this problem, then you can better understand the nature of remoteviews. Again, for example, Asynctask requires the first access to this class must be on the UI thread, which I think everyone knows, but why does it have to be like this? What happens if you first access asynctask on a child thread? With these questions to think to explore, then your technical grade will be higher.

My technical Plan

As far as I'm concerned, I still have a lot of things to do, whether it's Android or any other technology. For Android, the source I need to look deeper, and I also need to learn more about the Linux shell script and the internal implementation of Linux, so as to further understand the implementation of Android, iOS I also need to understand a little bit, so as to broaden my knowledge, After all, iOS is also a mobile development, but I do not have a lot of energy to study iOS, it turns out, "What is good is not good at anything", a person to become a full stack engineer is really very difficult, and the domestic recruitment of many do not need a full stack of engineers, And the so-called all-stack engineer is likely to be eliminated during the interview (due to the lack of depth). I will also learn some build environment, such as Gradle, Gerrit and so on.

According to this plan to learn, I will reach a certain depth in Android and the knowledge of the Linux kernel support, and then understand the development of iOS, but also to build the environment what, as for C, C + +, Web development and other knowledge points, I have a preliminary understanding in school, so that, The breadth and depth of knowledge I have, I think should be a good plan. of course, some Android code is confusing in order to avoid being decompile by others. Because a lot of criminals pirate an Android application is to start with the anti-compilation. So, from a mobile app security standpoint, to avoid knowing the layout and logic of your Android app, you should do some anti-compile protection, especially to avoid being seen by competitors. If the developer does not want to be anti-compiled by others, improve the security of the APK, you can use love encryption (http://www.ijiami.cn) for encryption protection. I have also tested, using love encryption, the original code program is hidden, no longer see the source code.

Reference article: http://blog.csdn.net/singwhatiwanna/article/details/46810527

Experience Sharing: Understanding of Android, Knowledge Point grooming

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.