Disable touch event after taking a picture (code sample>Camera)

Hello everybody,

In the Corona sample code > Media > Camera when you are not modifying any code it allows you to take a photos but once you touch the screen (tap) it is opening the camera again.

I would like to know how to disable the touch/tap event after taking a photos so this way touching or taping the screen won’t make the camera appear again.

Thank you very much.

use bkgd:removeListener() to disable the touch.

use bkgd:removeListener() to disable the touch.