Exam 12: Using an Existing App: Taking a Photo and Sending an Email

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

The __________________ method of the Bitmap class returns the height of the Bitmap.

Free
(Short Answer)
4.7/5
(38)
Correct Answer:
Verified

getHeight

What is the data type of the only parameter of the setImageBitmap method of the ImageView class?

Free
(Multiple Choice)
4.8/5
(40)
Correct Answer:
Verified

A

What is the XML attribute that corresponds to the setMax method of the ProgressBar class?

Free
(Multiple Choice)
4.8/5
(36)
Correct Answer:
Verified

A

The argb, alpha, red, green, and blue methods of the Color class of the android.graphics package are all static methods.

(True/False)
4.8/5
(33)

To access programmatically a resource named xyz.xml located in the drawable directory, we use the expression ____________.

(Short Answer)
4.9/5
(33)

What is the name of the class that encapsulates a slider?

(Multiple Choice)
4.8/5
(41)

It is possible for an app to store persistent data on a device.

(True/False)
4.8/5
(37)

The ImageView class can be used to display an image.

(True/False)
4.8/5
(42)

The ____________ of the Bitmap class sets the color of a point at some x and y coordinate in the Bitmap.

(Short Answer)
5.0/5
(29)

The constant that we can pass to the hasSystemFeature to check whether the device includes Bluetooth is __________________.

(Short Answer)
4.9/5
(40)

The ____________ of the Bitmap class returns the integer representation of the color of the pixel at coordinate( x, y ) in the Bitmap.

(Short Answer)
4.9/5
(37)

The fromFile static method of the Uri class takes a File parameter and returns a(n) ____________ reference.

(Short Answer)
4.8/5
(31)

It is possible to write a method that takes a double parameter and returns that double with a maximum of three significant digits after the decimal point.

(True/False)
4.8/5
(50)

It is not possible to add data in an Intent in the form of key/value pairs.

(True/False)
4.8/5
(41)

The createChooser static method of the Intent class returns an Intent reference such that when we start an activity with it, the user is presented with a choice of ____________ that match the Intent.

(Short Answer)
4.9/5
(30)

If we want to assign a unique name to a file, we can incorporate in the file name the time since the last boot in milliseconds, which we can get by calling the __________________ method of the SystemClock class.

(Short Answer)
4.8/5
(36)

We can test whether the device has a given feature, such as a camera, by calling the hasSystemFeature method of the ____________ class, passing a constant of the class that corresponds to that feature.

(Short Answer)
4.9/5
(27)

The constant that we can pass to the hasSystemFeature to check whether the device includes a camera is ____________.

(Short Answer)
4.9/5
(34)

An app can access another app.

(True/False)
4.8/5
(37)

The onStopTrackingTouch method of the SeekBar.OnSeekBarChangeListener interface is called when the user ____________ touching the seek bar.

(Short Answer)
4.9/5
(41)
Showing 1 - 20 of 28
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)