How do I start a beginner Android development?

Source: Internet
Author: User

In a few Android developer groups, there are always new questions: "I want to learn Android, but I don't know how to start, I don't know what to learn." "In fact, I was at the beginning of the study of Android development also encountered this problem, and I encountered such a problem did not get good guidance, resulting in a lot of detours, and wasted a lot of time. After taking part in the work for a period of time, slowly to the Android development has a new understanding. So decided to put some of their previous problems have been slowly written down to help Android novice development into the right track. Of course, this article may have some deviations, please correct me.

I am through self-study to learn Android, at the beginning of the time is to watch the video on the Internet, and then began to slowly go to find information, but there is no real demand for themselves to do, so a start to see things very miscellaneous, no
Targeted. The ultimate reason for our study is to apply what we have learned to practical development, so the purpose of learning is to find a job. Less gossip, the following starts to get to our point.

First, start learning Android requires a certain Java foundation
Android Although the bottom is written in C, but we are at work at the application layer of the development of the program layer, and its program layer adopts the language is Java so, to learn Android, you have to master the Java language. This includes Java semantics, syntax, and logic. Second, you should be proficient in Java communication mechanisms and several development models. After a certain understanding of Java, we enter the second phase.

Second, the Android development environment to build

Java Development Environment , I believe everyone in the first phase of this has a certain understanding, but why in this only to explain it? Because, go to a new company to work, after assigning you the task and then assigned to your own computer, this will require you to install the development environment on this computer. A lot of people in the first stage because of the Java development environment is not very familiar with the building, please ask someone to do it (many friends around me is this). So the first part of Android development is the Java environment. This online will have a lot of tutorials, follow the step by step to do just fine.
  ② After building the Java environment, we started to build the Android development environment . Most Android developers in the company now use the same compiler as eclipse, and of course some of the trendy uses of Android studio, and Android Studio is a big spread. Therefore, it is necessary for us to have a certain understanding of these two types of compilers. The compiler's choice of installation and some plug-in installation is necessary, 工欲善其事 its prerequisite. Of course, this online is also a lot of tutorials, I just give everyone a learning direction, the specific operation will not elaborate.
③ Select an emulator. the simulator is to install a virtual machine on its own computer, you can simulate the operation of the phone to install the program you wrote in the compiler on it, to test. Of course, the above two compilers
Eclipse and Android studio have their own simulators, but they run at a very fast pace. So I started to learn when the simulator is genymotion, which is an Android developer to choose a more simulator, very fast, and there are many versions of the model can be adapted to the screen.

third, Android development must master some of the technology
I started at the time because of the development of Android is not enough to understand, so the study time is quite vacant, basically is to see what studious, think that a function is very flashy to learn, the results in the search for work found that they learn
Most of those things are useless, not at the time of the company's development, and will not help you when looking for a job. When looking for a job interview a lot of home, was asked a lot of questions, slowly know what the work needs to master some of the technology.
①android Four ComponentsThis is what must be mastered, Activity,service,contentprovider, Broadcastreceiver. Where activity is the priority, he is the equivalent of you and an interaction with the application you are developing, through which you communicate with your application. Second, the next few components, although in the development of the use of less, but they are also very important. At least during the interview, the interviewer will ask you questions on these components, and he can see how well you understand Android development through your knowledge of these components.
   layout of the ②androidWe know that there are five types of Android layouts, with the most used layouts in the development of relativelayout and linearlayout, i.e., relative and linear layouts, followed by framlayout frame layouts. Second to remind you, in the layout of an interface is best to put their own brain or design drawings on paper, and then think about how to layout, how the layout is perfectly in line with the user's habit of showing out, rather than have a prototype began to rush to write code. (PS: In the layout of the best can be reduced nesting, because a multi-layered nested layout will allow the main thread to read the interface file when the time spent too much on the user interaction experience is poor, generally a layout can only nest 3 layers of layout. )。
  ③ ImprovementAfter understanding the basic knowledge, we need to further develop further, to know what kind of technology the enterprise needs.
    3.1 Maps: Baidu map, high-gold map, and so on, now many applications are generally embedded in the map function, so in the study must have a certain understanding of the map function.
     3.2 network communication: Development of an app product, mainly by traffic to profit, so we developed the product must have network connectivity function. So Android's network programming is what we have to master.
     3.3 Introduction of various third-party platforms: For example, QQ, Sina and other platform access. This requires that we can skillfully use the API documentation, that is, the ability to read a certain source files. Second, we sometimes have to introduce a large number of third-party libraries in the application, making our application more cool and more suitable for the user's habits, which also requires you to understand the source files and class library documents.

Iv. three most important requirements for Android development
Android develops the most important three requirements, write code, write code, or write code. Practice is the real truth. Functions are code-coded, only to continue to write, in order to make their own technology more refined. Finally, I wish you a little detour on the path of Android development.

How do I start a beginner Android development?

Related Article

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.