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

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Mon Jun 24 15:04:21 EDT 2013


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

Yahor Radtsevich commented on JBIDE-14894:
------------------------------------------

[~ibuziuk], please provide a project/sample page to test with.
                
> 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
>
>
> 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