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

Native Development

Reply
Regular Visitor
CrashMonkey
Posts: 1
Registered: ‎07-19-2013
My Device: Z10
My Carrier: Vodafone Germany

BarcodeDetectorVisuals reset for detecting another barcode

Hello all!!!

 

I'm working on an native app with BarCodeDetector and 

BarcodeDetectorVisuals...

 

My problem are the "visuals", they will shown exactly one time. When the first barcode was recognized they don't show anymore (because they have find one?). The BarcodeDetector

scans in background an find another barcode (I  monitor scanComplete from BarcodeDetector). But the "visuals" wasn't shown. I think this is the normal behavior, but I'm missing a "reset" signal to start a new scan.

 

How is the right way to do that? 

 

Write own or override BarcodeDecoderVisual and got a new CustomContrl or is there a way to recreate the "visuals" in QML (like ComponentDefinition && createObject) ?

 

The scanner is nested in Tab/TabbedPane, re-add the hole Tab when on barcode was found?

 

Any hints?

 

 

Best regards

 

André

 

PS: Sorry for my bad english...

Please use plain text.