External camera (e.g. USB hot-plug camera) support. The API updates specify that
the camera static info is only available when camera is connected and ready to
use for external hot-plug cameras. Calls to get static info will be invalid
calls when camera status is not CAMERA_DEVICE_STATUS_PRESENT. The frameworks
will only count on device status change callbacks to manage the available external
camera list.
Hi,
I went through android compatibility definition documents and external camera is first mentioned in lollipop CDD. LENS_FACING_EXTERNAL as a value to LENS_FACING camera characteristic has been added in API level 23. But it is not mandatory for all devices that support API level 23+ to support external cameras. You can check if external camera is supported by querying for camera characteristics and checking for LENS_FACING property of each camera supported in the android device. If any of it equals LENS_FACING_EXTERNAL, then external camera is supported in that device.
Thanks,
Saranya
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platform+unsubscribe@googlegroups.com.
To post to this group, send email to android-platform@googlegroups.com.
Visit this group at https://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
// TODO: update to CAMERA_FACING_EXTERNAL once the HAL API changes are merged. |
--
You received this message because you are subscribed to a topic in the Google Groups "android-platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-platform/rqj2SKG7Cx4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-platfo...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to android-platform+unsubscribe@googlegroups.com.
To post to this group, send email to android-platform@googlegroups.com.
Visit this group at https://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "android-platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-platform/rqj2SKG7Cx4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-platform+unsubscribe@googlegroups.com.
To post to this group, send email to android-platform@googlegroups.com.