Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
garciaf
Posts: 12
Registered: ‎03-15-2011
My Device: Tourch OS 6.0
My Carrier: Programmer Beginner

Use Barcode reader With WebWorks

Hello,

 

I am currently working on webworks, and I try to use a barcode reader.

I use the last OS (6.0). So I have different questions :

 

  1. According to other post the ZXing library (witch contain all a barcode reader) is not supported, so is there one way to use this library and if yes How ?
  2. What is the best way to make this barcode reader with Webworks technology ?

Thanks for yours answers.

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Use Barcode reader With WebWorks

Hi garciaf,

 

Bar code scanning can be accomplished on the BlackBerry smartphone.  In 6.0 the ZXing library is built into the device.  On 5.0 you need to explicitly include the bar code scanner code from the ZXing open source project.

 

We currently have the Barcode scanning API up next to tackle for WebWorks.

 

https://github.com/blackberry/WebWorks/wiki/Enhancement-Candidates

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.
Contributor
garciaf
Posts: 12
Registered: ‎03-15-2011
My Device: Tourch OS 6.0
My Carrier: Programmer Beginner

Re: Use Barcode reader With WebWorks

Thanks for this answer so quick :smileywink:

 

Just to have an idea : How long you think it could take to get the barcode reader API implemented ?

 

thanks

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Use Barcode reader With WebWorks

Hard to tell on when it will be available.  The source code will be available in github before it is officially released.

 

We will be developing the API in the open, so be sure to look for API signature reviews and other updates in the contributor's forum.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.
Developer
fsafadi
Posts: 29
Registered: ‎09-11-2010
My Device: Bold 9700
My Carrier: AT&T

Re: Use Barcode reader With WebWorks

I am working on an app that reads 1-D barcodes (not QR Codes)

 

is barcode scanning supported using any current webworks app (5.0 or 6.0)

or do I have to use traditional Java development?

 

You mentioned barcode API included in 6.0, is that for Java only?

 

Can I use the ZXing API inside a webworks app?

Thanks for your help.

Please use plain text.
Contributor
mmzepedab
Posts: 22
Registered: ‎09-01-2010
My Device: Blackberry 8900
My Carrier: Tigo Honduras

Re: Use Barcode reader With WebWorks

Hi Fsafadi, I just found this threat and I was wondering if you found an answer to this question, were you able to implement a barcode reader inside webworks?

Please use plain text.
Regular Contributor
tububerry
Posts: 51
Registered: ‎05-25-2012
My Device: Bold 9930
My Carrier: Verizon Wireless

Re: Use Barcode reader With WebWorks

Did anybody get the solution?

Please use plain text.
Administrator
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Use Barcode reader With WebWorks

A barcode extension has been published in Github as a community API

 

Smartphone OS:

https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Smartphone/Barcode

 

Tablet OS:

https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Tablet/Barcode

 

Follow the instructions listed in the README to install and use this extension.

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
Regular Contributor
tububerry
Posts: 51
Registered: ‎05-25-2012
My Device: Bold 9930
My Carrier: Verizon Wireless

Re: Use Barcode reader With WebWorks

Thank you.

 

I will try to implement this. I am new to webworks.

 

Are there any Javascript ext for Persistent storage as well? i have see HTML Database. Is that ext of SQLlite in Native SDK?

If it is HTML database-what encryption will it support?


I donot see any code related to  HTML database in my current WW SDK installation. BlackBerry WebWorks SDK 2.3.1.5.

 

 

If I have to write my own Javascript ext, is there a doc that will help me to start with?

Thanks.

 

Please use plain text.
Contributor
mmzepedab
Posts: 22
Registered: ‎09-01-2010
My Device: Blackberry 8900
My Carrier: Tigo Honduras

Re: Use Barcode reader With WebWorks

Does it work on blackberry os version 5.0?

 

 

 

Please use plain text.