By Prasobh1986
on Wed, 12/04/2013 - 08:44
Hi,
I am working on Cloud recognition.
setFlashTorchMode is always returning false and flash is not getting ON. But when i try wih android flash related code, it works fine on the same mobile.
Can someone please tell me why the activateFlash function in CloudReco not working?
Regards,
Prasobh v
Code to enable Flash not working
Infact am looking eactly an answer for https://developer.vuforia.com/forum/qcar-api/get-camera-object
Code to enable Flash not working
I have removed the double-post in the other page.
Do you observe this behaviour only in Cloud Reco ? have you tried using it in other samples (e.g. Image targets) ?
Code to enable Flash not working
Thanks for replying.
I will check now and revert.
Regards,
Prasobh V
Code to enable Flash not working
Hi,
I have tried clicking on menu button , so it will execute showCameraOptionsDialog function and activateFlash is working fine.
After clicking the menu button, I clicked a new button where i called function activateFlash(true) .This worked fine.
Code to enable Flash not working
In the ImageTargets.java sample code, the function activateFlash() is also called in the onPause() method, via this code: