Android camera detection

How can I detect programmatically if the phone has a camera?

+3
source share
2 answers

All Android-compatible phones must have a camera installed if they claim to be running Android version 1.6 or higher. See http://static.googleusercontent.com/external_content/untrusted_dlcp/source.android.com/de//compatibility/android-1.6-cdd.pdf for the device compatibility program.

Unfortunately, there is no 1.5 ccd that can be found anywhere. However, I am sure that all 1.5 devices currently available do have a camera. For tablets running 1.5, I would not be sure.

+1

Source: https://habr.com/ru/post/1750706/


All Articles