Archives
CAPP 18942
When you create an app project, the IDE generates ________ as a subclass of Activity and provided the shell of an overridden onCreate method, which every Activity subclass must override. ________ computing allows you to use software and data stored […]
CAPP 33987
You should ________ any apps you upload to Google Play to discourage reverse engineering of your code and further protect your apps. The NumberFormat objects are used to format currency values and percentages, respectively. NumberFormat static method getCurrencyInstance returns a […]
CAS CS 32692
Toast method makeText receives as arguments the Context on which the Toast is displayed, the message to display and the ________. Toast method show displays the Toast. SensorManager’s GRAVITY_EARTH constant represents ________. Answer: the acceleration due to gravity on earth […]
CICS 93797
(True/False) A SoundPool can play only one sound stream at once. (True/False) If Android cannot find an image in the appropriate drawable folder, it will scale the version from another drawable folder up or down to different densities as necessary. […]
CMCS 48019
To process simple touch events, you”ll override View method onTouchEvent, then use constants from class ________ (package android.view) to test which type of event occurred and process it accordingly. When a View is inflated, its constructor is called with a(n) […]
CMCS 48329
(True/False) Generally, each EditText should have a descriptive TextView that helps the user understand the EditText’s purpose (also helpful for accessibility)otherwise, Android Lint issues a warning. You implement interfaceAdapterView.OnItemClickListener to respond when the user touches an item in a ListView. […]
COMPSCI 12408
A new class of objects can be created quickly and conveniently by ________; the new class absorbs the characteristics of an existing one, possibly customizing them and adding unique characteristics of its own. (True/False) According to the Android design guidelines […]
COMPSCI 29894
An AlertDialog.Builder object helps you configure and create an AlertDialog. The argument to the constructor is the ________ in which the dialog will be displayed. Before uploading your app to a device, Google Play or other app marketplaces, you must […]
COMPSCI 56334
Inherited method getResources returns the app’s Resources object (package android.content.res) that can be used to ________ and determine information about the app’s environment. Android’s ________ feature enables the user to touch the screen to hear TalkBack speak what’s on the […]
COSC 16407
Android devices are used worldwide. To reach the largest possible audience, you should consider customizing your apps for various locales and spoken languagesthis is known as ________. Your app must adhere to the ________ Policies. If your app is in […]
CS 67526
(True/False) By default, animations in an animation set are applied sequentially (i.e., one after the other). (True/False) Activity is an indirect subclass of Context. Answer: True. (True/False) High-resolution images do not scale well. Answer: False. Low-resolution images do not scale […]