Recently in the reading of Guo Lin's classic "first line of code", as a rookie-level novice, this book is indeed very friendly to the novice, speaking very detailed. If you also like me as a small rookie want to learn Android, still do not know this book, have not thought well to start which book as a beginner of the first book students, personally think you don't wander, add shopping cart!
Because I was just beginning to study soon, the second chapter to learn a very small part, so I can not say something nutritious, I will first record the course of my study experience mistakes.
The second chapter begins, teacher Guo teaches us how to create the activity manually. While reading a book and knocking at the code, but you will find that when you complete all the required code in accordance with the books, there is always a lot of red underline, which proves there is an error here, and then compile, it is indeed a mistake, prompting you to modify. As a Meng Xin, when I found that I was a letter in the book of the revision, or a mistake did not get rid of the time, the heart good helpless. Online Search Bai, I put the wrong one hit up, check a lot of people's posts, a lot of people write blog or something (really check a lot, Baidu ah Google ah). Kung Fu is not a conscientious, finally I found that there is no import package, the students who have learned Java should know that the implementation of this class in Java is to import the package, import all kinds of packages. Every time a new method will need me to search the Internet to import what package, Miss Guo in the book did not come up with this point, he just wrote the code to explain what the meaning. Of course, I think the benefits outweigh the benefits, the process of learning is to search for what they do not understand and the wrong place, gladly accept Miss Guo this small mistake it. And then I found a great way to solve this problem in the search for the wrong solution (for me it was really divine!). ), that is, you completely control the book after the code only need to ctrl+shift+o a key to import all the required packages!! Eclipse will be imported intelligently, no longer searching for itself. This is a post inside the netizen reply landlord, I see after unsanitary environment.
If it's like me, as a new student who has just started to study the book, they should all have the same problems as me. If you see what I'm saying, you can try this shortcut, I'm sure it will help you. Rookie learning Journey is still in progress, I believe there will be a variety of problems, I will try to solve the problem!
Beginner's Android Learning Tour (i)