20169204 2016-2017-2 Learning Summary, Seventh Week
Experiment 1 Report Link
Summary of Teaching Content
This week, I make a lot of mistake. I have write 1-4 chapters code in the text and compile error too much. Then, chapter 11,chapter12 and chapter13 are difficult for me.
-
UI Components
One of the first things you do when creating an Android application is build the user interface (UI) for the main activity. This is a relatively easy task thanks to the ready-touse UI components that Android provides.In this chapter you learned about the UI components available in Android. You also learned how to use the toast, dialogs and notifications.
-
Layouts
Layouts are important because they directly affect the look and feel of your application.Technically, a layout is a view that arranges child views added to it. Android comes with a number of built-in layouts, ranging from LinearLayout, which is the easiest to use, to RelativeLayout, which is the most powerful.A layout is responsible for arranging its child views. It directly affect the look and feel of an application. In this chapter you learned some of the layouts available in Android, LinearLayout, RelativeLayout, FrameLayout, TableLayout, and GridLayout.
-
Listeners
Like many GUI systems, Android is event based. User interaction with a view in an activity may trigger an event and you can write code that gets executed when the event occurs. The class that contains code to respond to a certain event is called an event listener.In this chapter you learned the basics of Android event handling and how to write listeners by implementing a nested interface in the View class. You have also learned to use the shortcut for handling the click event.
The summary of error question in the last week
The easiest way to debug an application is to use log messages. The Android framework provides the android.util.Log class for logging messages. Log class with the highest log level is ()
A .d(debug)
B .i(info)
C .v(verbose)
D .w(warning)
E .e(error)
F .wtf(what a terrible failure)
My answer is A, but the correct answer is F.
Problems and Solutions in Code Debugging
I don't know why my code error, unless cuted the package **. In the follwing:
Code hosting
Sumary of the test last week
In last week's class, I have a small test to be caught off guard. It is a hard time for me, there are so many mistake which I made, and remind me to study hard in this week. Recall the mistakes before, mostly focused on the basic concept of the textbook and the related tutorials not proficient,as to my answer the question that what's the three most popular IDE environment was wrong!
So, this week, I have paid my attention on the textbook, more focus on some basic knowledge, rather than eager to programming. Carefully read the tutorial, the environment is configured accurately, standardized format for the follow-up study to lay a good foundation for the environment.
Feeling
Three weeks later, the learning method is not very skilled, but I am determined according to this method, continue to study, will have unexpected results. In fact,I learned the basic knowledge of Java was so few in past two weeks, far less than to learn programming much past time. This is due to a lack of understanding of the nature of the compiler. After two weeks of exploration and learning, I gradually understand the operation of the Ubuntu skills, but also enjoy the programming to bring a happy mood. I think I'm more interested in programming.
Finally, thanks to my classmates and teachers help in everything! Thank you!
Sumary of the test last week
This time is already the fifth operation, and we have done five times the classroom test, my overall rating in the next and so on. This not only makes me feel a bit depressed, summed up the subject of each examination, mainly to examine some of the details of the books, I think I really should take a look at the book.
Blog Comments
-
Learning partner
Le Wu -
development teammates
Mingzhao Yang
Changle Tong
Xing Sun
Hui Zhao
Learning progress bar
Bolg | Time | |
---|---|---|
Target | 15 | 15 |
First week | 1/1 | 3/4 |
Second week | 1/1 | 3/4 |
Three week | 1/1 | 4/6 |
Fourth week | 1/1 | 6/6 |
Fifth week | 1/1 | 6/6 |
Sixth week | 1/1 | 6/6 |
Seventh week | 1/1 | 6/6 |
Reference
-
[Java for Android 2nd Edition]
-
[Java Study notes(8th Edition)Learning guidance]