[jbosstools-issues] [JBoss JIRA] (JBIDE-14362) CordovaSim: need to implement Phonegap's Barcode Scanner plugin

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


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

Ilya Buziuk commented on JBIDE-14362:
-------------------------------------

Steps for verifying:
       1. clone https://github.com/phonegap/phonegap-plugins.git - this is a main repository of phonegap-plugins
       2. you'll need barcodescanner.js (Android -> BarcodeScanner -> 2.0.0 -> assets -> www -> barcodescanner.js)
       3. create new Hybrid Mobile (Cordova) Application Project
       4. delete everything from "www" folder
       5. download Barcode Demo project: http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt3/tmt3.zip        
       6. unzip it and add all the content (index.html, main.css, main.js) + barcodescanner.js into empty "www" folder
       7. add this two lines into index.html{code}    
              <script type="text/javascript" src="barcodescanner.js"></script>
	      <script type="text/javascript" src="cordova.js"></script> 
              {code}
       8. now you are ready to test the app -> right click on the project -> Run as -> Run with CordovaSim ->  !BarcodeDemo.png|thumbnail! 


P.S. You don't need to add cordova.js file - JBIDE-14319 
                
> CordovaSim: need to implement  Phonegap's Barcode Scanner plugin
> ----------------------------------------------------------------
>
>                 Key: JBIDE-14362
>                 URL: https://issues.jboss.org/browse/JBIDE-14362
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: browsersim
>            Reporter: Ilya Buziuk
>            Assignee: Ilya Buziuk
>              Labels: new_and_noteworthy
>             Fix For: 4.1.0.Beta1
>
>         Attachments: BarcodeDemo.png
>
>
> Here is a description of Barcode Scanner plugin - https://github.com/phonegap/phonegap-plugins/tree/master/iOS/BarcodeScanner, https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner
> *4QAs*
> An application to test with: http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt3/tmt3.zip

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