How can I check if a device has a camera led (flashlight). I am talking about devices with android OS?
I have seen solutions some solutions which talks about how to
getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA_FLASH) returns true if the device has flash. See this for more details
getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA_FLASH)