"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Code to enable Flash not working

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

Prasobh1986

Wed, 12/04/2013 - 10:33

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.