Android examples for Hardware:Device Feature
is Hardware Available by type
//package com.java2s; import android.content.Context; public class Main { public static boolean isHardwareAvailable(Context ctx, String type_hw) { return ctx.getPackageManager().hasSystemFeature(type_hw); }//from w w w. j a v a 2 s.com }