nerdexam
IBM

LOT-404 · Question #25

Rob is creating an application that will open the device's default camera application so that the user can take a picture. Which method would he use to do this?

The correct answer is B. navigator.camera.getPicture(). See the full explanation below for the reasoning.

Question

Rob is creating an application that will open the device's default camera application so that the user can take a picture. Which method would he use to do this?

Options

  • Anavigator.camera.putPicture();
  • Bnavigator.camera.getPicture();
  • Cnavigator.camera.takePicture();
  • Dnavigator.camera.savePicture();

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    83% (29)
  • C
    3% (1)
  • D
    11% (4)

Community Discussion

No community discussion yet for this question.

Full LOT-404 Practice