Graphics 2.0 Camera Texture fill not working

Thanks Brent for clarification. Checking a couple of android barcode scanners they seem to all show full screen camera with a rectangle and line on top, not sure if we can do this is corona putting an object on top of camera.

If this were native, you could use regular Android drawing techniques to draw a box on top of an camera intent and use the native camera interface.   Corona SDK runs on an OpenGL canvas which sits below any native drawing.   We can try to access the camera’s hardware directly to render an OpenGL texture to the canvas, but for Android because there are many many different hardware/driver combos this isn’t practical.  Your barcode example isn’t using OpenGL and doesn’t need the high speed graphics pipeline that Corona SDK uses.

Rob

Thanks Rob.