Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

____1. All the Activities that compose an Android app must be declared in what file? A. strings.xml B. AndroidManifest.xml C. activities.xml D. build.gradle ____2. Which

____1. All the Activities that compose an Android app must be declared in what file?

A. strings.xml

B. AndroidManifest.xml

C. activities.xml

D. build.gradle

____2. Which of these types of data is a Bundle not capable of storing?

A. char

B. Parcelable object

C. byte

D. All of these can be stored in a Bundle.

____3. Intents are used to start up which of these components?

A. Activities

B. Broadcast receivers

C. Services

D. All of the above

____4. What method is used to add data to an Intent?

A. addData()

B. putExtra()

C. setAction()

D. You cannot add data to an Intent.

____5. What method of the Activity class returns the fragment manager for the activity?

A) Manager

B) getManager

C) getFragmentManager

D) fragmentManager

____6. What is this in the following code?

Intent myIntent = new Intent( this, DataActivity.class );

A) A DataActivity reference

B) A reference to the current Activity

C) An Intent

D) A class

____7. What is DataActivity in the following code?

Intent myIntent = new Intent( this, DataActivity.class );

A) A subclass of Intent

B) A reference to the current Activity

C) An Intent

D) An Activity class

____8. A(n) _____ is called to when the running fragment is no longer interacting with the user.

a. onStart()

b. onResume()

c. onPause()

____9. An action bar can feature

a. user action control elements

b. drop-down menus

c. navigation modes

d. all of the above

____10. The items appearing in the Action Bar would normally be declared in an XML file in what directory?

A. res/action

B. res/menu

C. res/item

D. res/values

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning C# 2005 Databases

Authors: Karli Watson

1st Edition

0470044063, 978-0470044063

More Books

Students also viewed these Databases questions

Question

=+to live and work wherever he or she wants?

Answered: 1 week ago

Question

=+How will this affect the recruiting process?

Answered: 1 week ago