Android Camera Get getNumberOfCameras()

Here you can find the source of getNumberOfCameras()

Description

get Number Of Cameras

Declaration

public static int getNumberOfCameras() 

Method Source Code

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

public class Main {
    public static int getNumberOfCameras() {
        return Camera.getNumberOfCameras();
    }/*from w  w w  .j  ava 2 s.  c o  m*/
}

Related

  1. getCameraInstance()
  2. getDefaultCamera(int position)
  3. getDefaultCamera(int position)
  4. getDefaultCameraInstance()
  5. getDefaultFrontFacingCameraInstance()
  6. getDefaultBackFacingCameraInstance()
  7. getCameraRotation(final Context context)
  8. indexOfClosestZoom(Camera.Parameters parameters, double targetZoomRatio)
  9. getLowestResolution(Camera.Parameters cp)