get Number Of Cameras - Android Camera

Android examples for Camera:Camera Attribute

Description

get Number Of Cameras

Demo Code


//package com.java2s;
import android.hardware.Camera;

public class Main {
    public static int getNumberOfCameras() {
        return Camera.getNumberOfCameras();
    }/*from w ww .  j a  v a2s .  c om*/
}

Related Tutorials