incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian LeRoux (JIRA)" <>
Subject [jira] [Commented] (CB-753) ER: API to query if device has a camera
Date Mon, 14 May 2012 05:47:57 GMT


Brian LeRoux commented on CB-753:

I put a note in teh wiki to have a look at this post 2.x ---some prior art out there but not
much. Its a tricky thing to impl so it def should come after the plugins stuff is documented
and tooled.
> ER: API to query if device has a camera
> ---------------------------------------
>                 Key: CB-753
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>    Affects Versions: 1.7.0
>            Reporter: Jean-Pierre
>            Priority: Minor
> Cordova does not offer any API to query the device for its capabilities, so one cannot
know if it has a camera with which to take a picture without attempting to take a picture,
falling through the error handler and then hard-match the error code -- a pretty poor user
experience. i have seen some suggestion to check, but a device may still have
a library to pull an image from while not having a camera, so that isn't likely helpful. there
isn't even any way to find the specific hardware revision to match off that.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message