Google - How to check android device has camera or not, Find Android device has Camera or not
How to check android device has camera or not
This code can be used to find whether an android has camera or not. Below clode will let you know Available or not available in the android device.Context myContext = this; PackageManager myPackageManager = myContext.getPackageManager(); TextView myTextView = (TextView) findViewById(R.id.infodisplay); if (myPackageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA)) { myTextView.setText("Camera is available"); } else { myTextView.setText("Camera not available"); }
The topic on Google - How to check android device has camera or not is posted by - Guru
Hope you have enjoyed, Google - How to check android device has camera or notThanks for your time