Android Quiz

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

What are the 4 application building blocks?

1. Activity 2. Service 3. Content Provider 4. Intent Receiver

Which process converts byte code into a system-dependent binary?

ART

What are the 4 activity states?

Active, Paused, Stopped, Inactive

An activity is implemented as a subclass of _____ class.

Activity

a single screen of UI that appears in your app - the fundamental unit of GUI

Activity

The Android SDK tools compile the code—along with any data and resource files—into an ____________, an archive file with an _____ suffix.

Android package, .apk

What is a subclass of Activity and the base class for activities that use the support library action bar features?

AppCompatActivity

When you rotate the devices' orientation from portrait to landscape How to handle rotation?

Create Landscape Layout variation

process virtual machine originally used by Android

Dalvik

What directory are images stored in?

Drawable

actions that occurs when a user interacts with widgets e.g. - clicking, typing, scrolling, etc....

Events

What kind of build / compile management system does android use?

Gradle

What kind of event is added to onCreate method to capture user input?

KeyListener

Which method is called when an activity first starts or resumes?

OnCreate()

In android _______ is used to provide access to resources defined in XML files.

R.java

items that appear on screen in an Activity e.g. - widget : GUI control such a button or text field - layout : invisible container that manages positions/sizes of widgets

View

_____ ______ refers an Android application launched to process an element of data or respond to an event, such as the receipt of a text message.

broadcast receivers

_______ ________ play the role of database servers

content providers

What are the 6 log methods for Android?

debug, error, info, verbose, warning, log stack trace of an exception

To access the resource we need to invoke ________method passing in the id of the resource to be fetched.

findViewById()

current state of an activity is referred to as?

instance state

The _______ file presents essential information about your app to the Android system, information the system must have before it can run any of the app's code.

manifest

Both __________ and ____________ methods receive the same Bundle that contains the instance state information.

onCreate() and onRestoreInstanceState()

Which method is called when an activity is done

onDestoy()

Which method is called when activity is in the background

onPause()

Which method is called when an Activity is recreated after previously destroyed?

onRestoreInstanceState()

Which activity is called on start, restart, or after pause

onResume()

which method is called automatically and saves any non-persistence state of app?

onSaveInstanceState()

each application, by default, has access only to the components that it requires to do its work and no more refers to what principle

principle of least privilege

Most security between applications and the system is enforced at the _____ level through standard Linux facilities,

process

Which directory is strings.xml found in?

res/values/strings.xml

a _______ is an isolated area of the operating system that does not have access to the rest of the system's resources, unless access permissions are granted by the user when the application is installed.

sandbox

a _________ should be used for any application that needs to persist for a long time

service

What is the definition of non-persistence?

stays for now, but lost on shutdown / reboot

How does the application know the initial activity to call?

stored in the AndroidManifest.xml

Radio button needs a listener so that the app knows when it is interacted with. This is done through the ____________ interface

"OnCheckedChangeListener"

What is the name for a drop down list in an Android app?

Spinner

Activities are maintained in a ______

Stack


Kaugnay na mga set ng pag-aaral

Chapter 28: Child, Older Adult, and Intimate Partner Violence

View Set

Complete First Page 101 UOE Part 4

View Set

Chapter 12: Aggregate Demand and Aggregate Supply

View Set

3) SALIENT FEATURES OF THE CONSTITUTION

View Set

Chapter 4 Business Ethics and Social Responsibility

View Set

Ch. 20 : Nursing Management: Patients w/ Hematologic Disorders

View Set

Toughy Chapter 18 Pain and Comfort

View Set