You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2015/09/01 02:14:46 UTC

[jira] [Updated] (CB-7192) Support checking for Camera

     [ https://issues.apache.org/jira/browse/CB-7192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-7192:
---------------------------------
    Component/s: Plugin Camera

> Support checking for Camera
> ---------------------------
>
>                 Key: CB-7192
>                 URL: https://issues.apache.org/jira/browse/CB-7192
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Camera
>            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.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org