Problem with mergAVCamCreate

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Peter@multidesk.se
Posts: 136
Joined: Fri Oct 14, 2011 6:53 am

Problem with mergAVCamCreate

Post by Peter@multidesk.se » Fri Feb 26, 2021 1:19 pm

When I run the following code, I get an error on mergAVCamStartBarcodeReader, which says "control not created yet". Have used this code snippet in several projects and never got this error.

Code: Select all

on BarcodeScannerCreate
   mergAVCamSet "microphone", empty
   mergAVCamSet "rect", the rect of widget "Android Barcode Scanner" of me
   mergAVCamSet "exposure mode","continuous"
   mergAVCamSet "visible","true"
   mergAVCamSet "quality", "high"
   mergAVCamSet "camera", "rear camera"
   mergAVCamCreate
   mergAVCamStartBarcodeReader pB
end BarcodeScannerCreate
Is this a bug, or is it something I missed?

I'm on a MacBook Pro 11.2.1, running LC 9.6.2 (rc2)

///Peter
/*Whats all the fuss with c# ?*/

Post Reply

Return to “iOS Deployment”