[jbosstools-issues] [JBoss JIRA] (JBIDE-14894) CordovaSim: Camera API isn't properly emulated with Camera.DestinationType = DATA_URL

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed Jul 3 19:34:20 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787502#comment-12787502 ] 

Max Rydahl Andersen commented on JBIDE-14894:
---------------------------------------------

[~vpakan] it is a known issue in eclipse that it cannot parse jquery minified javascript. you can disable the validators on this project but for this issue this problem is irrelevant.

I do not think video is implemented yet, just camera/photo support but i'll let [~ibuziuk] respond to that.
                
> CordovaSim: Camera API isn't properly emulated with Camera.DestinationType = DATA_URL
> -------------------------------------------------------------------------------------
>
>                 Key: JBIDE-14894
>                 URL: https://issues.jboss.org/browse/JBIDE-14894
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: browsersim
>            Reporter: Ilya Buziuk
>            Assignee: Ilya Buziuk
>             Fix For: 4.1.0.CR1
>
>         Attachments: camera.png
>
>
> DestinationType=DataUrl returns image as base64 (image.src = "data:image/jpeg;base64," + imageData).So, there is a need in encoding imageURL in base 64 in that particular case.
> Camera API : http://docs.phonegap.com/en/2.8.0/cordova_camera_camera.md.html#Camera

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list