Categories
|
Test: A few basic imports in an Android application program 4. Which of the following is the correct way in Android to get an integer state value (saved with key mDirection) from a Bundle object named icicle?
Results Congratulations! Correct Answer. You Answered: None. If you took the test, your answer will show up here. Correct Answer: mDirection = icicle.getInteger("mDirection"); Explanation Here icicle is an object of type Bundle. The method getInteger() can be used to get the integer from that Bundle. And finally, you need to pass the proper key.Take the Test Take the complete test on this topic. You will be able to review answers to questions and get a test score.
Take the Test
Question 4 of 5
Test is Based on this Article
A typical Android program includes a few imports from the Android SDK. This test has some questions on those basic imports.
|
This article looks at a few basic imports that an Android program might use.
|
|
More Articles With Similar Tags
|
This article gives some quick pointers on how to start debugging an Android application, along with where to put the breakpoints and how to change the emulator sizes from within Eclipse.
|
This article talks about the basics of the browser (including the user agent string) used in the Android platform.
|
This article talks about various aspects of creating an SQLite database. It also uses Android SQLite shell as an example.
|
This article explains how to get pretty / nice output from the SQLite command line shell program.
|
See the images of various skins and screens of Android emulator with games (Lunar Lander and Snake) in them. Also shows how to change the skins of Android emulator while debugging your program.
|
|
|
|
|