canvas object
hi,
I have a camera plugin that needs a canvas to work. It uses the following code for the camera preview
ok I have been able to generate the APK after meddling with it for sometime....now the question is how to display the output on a canvas?
It uses the following code to display the preview
document.addEventListener('deviceready', function () {
Code: Select all
 // have to call initialize function with canvas object 
 var objCanvas = document.getElementById("canvas"); 
 window.plugin.CanvasCamera.initialize(objCanvas); 
 // window.plugin.CanvasCamera is now available }, false);
How do I create the canvas?
Thanks, 
 M&M
