09-01-2012 12:18 PM - edited 09-01-2012 12:20 PM
I have a BarcodeScanner which is added to a mainScreen via its getViewFinder().. the goal is that I need to add some type of label to the screen that can show the status of the scan.. for instance, if the scan was successful then I want to display a status of "scan was complete" over the scanner. I don't want to get too caught up with when do set the status but rather how to set a label in the screen object with the scanner field!
Any insight would be appreciated.
MainScreen screen = new VideoScreen(); BarcodeScanner scanner = new BarcodeScanner(decoder,listener); scanner.getVideoControl().setDisplayFullScreen(tru
e); screen.add(scanner.getViewfinder()); screen.add(/* some labelField here doesn't work*/);
Solved! Go to Solution.
09-03-2012 03:41 AM