Android examples for android.hardware:Camera
get Default Camera Instance
import android.hardware.Camera; public class Main { /**//from www . j a va 2 s. c o m * @return the default camera on the device. Return null if there is no camera * on the device. */ public static Camera getDefaultCameraInstance() { return Camera.open(); } }