06-13-2012 11:56 PM
06-13-2012 11:58 PM
I am not sure.
Zxing APIs are used in webworks barcode reader which issupported in 6.0 & above.
06-14-2012 01:35 AM
I'm did't manage to install the extension I followed the instructions on the git, but theres one item where it says
Copy the downloaded Smartphone\Barcode\src\blackberry directory to your new ext\webworks.media.barcode\blackberrydirectory
I downloaded the zip from the git but there's not such folder.
Can you give me a hand?
06-14-2012 10:18 AM
That really very bad.
The documentation is really VERY VERY BAD.
here are the steps:
->download the barcode folder in a temp folder.
->goto C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK 2.3.1.5\ext ----------> your SDK folder
->create directory structure C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK 2.3.1.5\ext\webworks.media.barcode\webworks\media
->copy your barode folder here.
-> whole path will look like C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK 2.3.1.5\ext\webworks.media.barcode\webworks\media\
-> this is where your .java files will be.
Should i write javascripts myself or they are available to use with index.html
i dunno what to do next.
I need help
06-14-2012 03:22 PM
Yes really really, bad documentation on this API.
Did anyone else managed to make it work?
06-14-2012 03:43 PM
Did you manage to get the barcode app working?
i compiled it with some effort.
when i click on scan button nothing happens.... wassup at ur code?
06-14-2012 03:55 PM
I coudn't even compile it, because of the error I mentioned above.
I'll give a try to what you posted before.
I´m developing on Mac I'll try to make my folder structure as yours in it, did you follow the code on the example that says doScan() and did you add the feature id on your config.xml?
06-14-2012 04:03 PM
i initially forgot to add it so it threw an error saying
Javascript error: RerefernceError: Can't find variable: webworks
Then i added the feature tag. now it is not throwing any compiler error. but it is not running too.
06-14-2012 04:06 PM
06-14-2012 04:10 PM
i meant, nothing happens when i click on 'Scan Code' button.
wheni ran the application for the first time, it asked for securtiy access for camera. i allowed access for it.
I am looking at Web Inspector now. this tool is new to me.