You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Raymond Camden (JIRA)" <ji...@apache.org> on 2014/07/23 19:53:41 UTC
[jira] [Created] (CB-7192) Support checking for Camera
Raymond Camden created CB-7192:
----------------------------------
Summary: Support checking for Camera
Key: CB-7192
URL: https://issues.apache.org/jira/browse/CB-7192
Project: Apache Cordova
Issue Type: Improvement
Reporter: Raymond Camden
Priority: Minor
In my ObjectiveC training, I discovered there was a way for code to see if a camera exists on the hardware. In Cordova we can't do that. You do get an error you can handle properly, but it would be nice if Cordova could do check for camera support before trying to use it. For example, if you have a camera I could offer two buttons (Take New, Pick Existing), but if you don't I'd just have one. I assume Android and other platforms have similar APIs.
--
This message was sent by Atlassian JIRA
(v6.2#6252)