You are on page 1of 1

FAQ

Q. I am starting an android camera app for taking pictures. When I ctrl-shift-O to get the import for the
Camera class there are two choices: android.graphics.camera and android.hardware.camera. Which one
should I use and what are the main differences?

A. android.graphics.camera appears to only have functions for manipulating images for 3D
transformations whereas android.hardware.camera is much fuller and has actual support for camera
functions.
You definitely want to use android.hardware.camera.

You might also like