May 21, 2021 Android SDK Getting started
Tutorial instructions
Completion time: 15 minutes
Difficulty of execution: Simple
Earlier, we learned about the basic concepts and key points of knowledge that need to be involved in creating applications for the Android platform. A long the way, we explored various aspects of Android development, including Java development, XML usage, user interface design, project structure, data storage, and the publishing process. In order to test the effectiveness of our study, in today's article, please accept a closing test to see if you have mastered the previously mentioned knowledge.
Question one
Which of the following Android application directories is our Java class saved?
Question two
Which of the following will we not do in the project inventory file?
Question three
Which of the following statements should we use in order to retrieve the id of a view set in XML in Java using the "id/how" syntax?
Question four
Which of the following statements should we use to set the text string displayed by TextView in XML?
Question five
Which of the following is the standard way we define the events that a user performs when they click a button?
Question six
Which of the following XML properties do we need to add to the view to specify how the user will click?
Question seven
Which of the following statements do we need to set up a drawable display graph in ImageView?
Question 8
Which of the following activity elements do we need to include in the manifest to execute the activity when the application starts from the device menu?
Question nine
In which element do we need to declare the permissions that the application requires in the manifest?
Question ten
What is the application's Shared Preferences for?
Question 11
How do we handle I/O errors when an application reads and writes files?
Question twelve
Which of the following steps does our application not need to follow before attempting to write to an external storage mechanism?
Question 13
When getting data from Internet sources, which of the following do we need to stick to?
Question FOURtee
Which of the following statements is incorrect?
Question fifteen
To enable another activity in one activity, which of the following classes do we need to use?
Question sixteen
Which of the following callback methods does not execute when an application starts and is in the resumed state?
Question 17
Which of the following callback methods will be implemented when the user returns to our application after a pause?
Question 18
Do we need to use the current method to store state data in the onCreate and onRestore Instate methods of activeity for future access?
Question 19
Which class allows us to define reusable user interface sections?
Question 20
Which of the following steps do we not need to take when releasing an app to Google Play?
Correct answer:
1-5、CCDAC;
6-10、ADCDA;
11-15、CDBBA;
16-20、BBBAD。