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

Ilya Buziuk (JIRA) jira-events at lists.jboss.org
Fri Jun 14 13:08:54 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-14894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Buziuk updated JBIDE-14894:
--------------------------------

    Description: 
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 case.

Camera API : http://docs.phonegap.com/en/2.8.0/cordova_camera_camera.md.html#Camera

  was:
DestinationType=DataUrl returns image as base64 (image.src = "data:image/jpeg;base64," + imageData). There is a need in encoding imageURL into base64
Camera API : http://docs.phonegap.com/en/2.8.0/cordova_camera_camera.md.html#Camera


    
> 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 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