blackberry / WebWorks-Community-APIs

Community owned repository containing JavaScript Extensions for BlackBerry WebWorks
Apache License 2.0
140 stars 204 forks source link

Tablet / Barcode: not starting a scanner #85

Open Anderl1989 opened 12 years ago

Anderl1989 commented 12 years ago

When trying to use the barcode scanner on the PlayBook with

blackberry.media.barcode.scan(...)

it opens the normal camera where i can take a picture. After taking a picture the camera closes and nothing happens. No barcode scanner is opened.

I added feature id="webworks.media.barcode" / to my config.xml inside the widget tag as well as rim:permit access_shared /rim:permit rim:permit use_camera /rim:permit inside rim:permissions

I'm using PlayBook OS 2.1.0.560 and WebWorks SDK for TabletOS 2.2.0.5

abhisardeshmukh commented 12 years ago

I am also doing the same. but not getting the scanned values. After taking a picture the camera closes and After sime time error come like "unable to decode the barcode"

srikanth4b9 commented 11 years ago

With the sample application on playbook 2.0 tested, its scanning and decoding only the type QR Bar codes. I want know What are all the barcode formats Playbook supports.??

splatterb0y commented 11 years ago

It's also decoding 1D Barcodes BUT the camera has no autofocus so it takes ages and you have to move the device back and forth till it recognizes the barcode. The playbook does not have an autofocus, so everything besides QR will be a horrible pain in the ass.

srikanth4b9 commented 11 years ago

Porting an Barcode application from Android is having camera auto focus and scanning with in seconds. Is the any way to run ported app(Android app) in Playbook native application.??

On Thu, Apr 4, 2013 at 5:05 PM, Christian Ziegenrücker < notifications@github.com> wrote:

It's also decoding 1D Barcodes BUT the camera has no autofocus so it takes ages and you have to move the device back and forth till it recognizes the barcode. The playbook does not have an autofocus, so everything besides QR will be a horrible pain in the ass.

— Reply to this email directly or view it on GitHubhttps://github.com/blackberry/WebWorks-Community-APIs/issues/85#issuecomment-15892363 .