are Both Cameras Supported - Android Camera

Android examples for Camera:Camera Feature

Description

are Both Cameras Supported

Demo Code


//package com.java2s;

import android.hardware.Camera;

public class Main {
    public static boolean areBothCamerasSupported() {

        return (Camera.getNumberOfCameras() > 1);

    }//www .  j  a  v a2 s.  c o  m
}

Related Tutorials