[
https://issues.jboss.org/browse/JBIDE-14362?page=com.atlassian.jira.plugi...
]
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/tmt...
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/BarcodeS...
*4QAs*
An application to test with:
http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt...
--
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