[jbosstools-issues] [JBoss JIRA] (JBIDE-14300) CordovaSim: need to implement phonegap's Capture.getFormatData() method

Ilya Buziuk (JIRA) jira-events at lists.jboss.org
Tue May 28 11:55:55 EDT 2013


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

Ilya Buziuk commented on JBIDE-14300:
-------------------------------------

Steps for verifying:
          1. create new Hybrid Mobile (Cordova) Application Project
          2. delete everything from "www" folder
          3. clone this demo - https://github.com/jasond/cordova-mega-demo.git
          4. copy everything from the following folder (cordova-maga-demo -> assets -> www) into an empty "www" folder of the newly created project
          5. now you are ready to test the app -> right click on the project -> Run as -> Run with CordovaSim -> !capture.png|thumbnail! -> press "Capture" tab ("Capture Picture" and "Capture Video" must work)


P.S. in this demo cordova-2.1.0.js is used, which is pretty old, so you can play with other versions (2.2 - 2.7)
                
> CordovaSim: need to implement phonegap's Capture.getFormatData() method
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-14300
>                 URL: https://issues.jboss.org/browse/JBIDE-14300
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: browsersim
>            Reporter: Ilya Buziuk
>            Assignee: Ilya Buziuk
>             Fix For: 4.1.0.Beta1
>
>         Attachments: capture.png
>
>
> Capture.getFormatData method (http://docs.phonegap.com/en/2.6.0/cordova_media_capture_capture.md.html#MediaFile.getFormatData) isn't implemented in the original ripple emulator. Need to implement it via javax.servlet API in conjunction with jetty server

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