Android examples for Camera:Front Camera
is Front Camera Supported
//package com.java2s; import android.content.Context; import android.content.pm.PackageManager; public class Main { public static boolean isFrontCameraSupported(Context ctx) { PackageManager pm = ctx.getPackageManager(); return pm.hasSystemFeature(PackageManager.FEATURE_CAMERA_FRONT); }//w w w . j a v a 2 s . c o m }