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?
Share
android.graphics.cameraappears to only have functions for manipulating images for 3D transformations whereasandroid.hardware.camerais much fuller and has actual support for camera functions.You definitely want to use
android.hardware.camera. Full details on usage are here.