Hey,
I have the following code:
var startButton = Titanium.UI.createButton({ width: 180, height: 50, bottom: 0, backgroundColor: '#32CD32' }); startButton.addEventListener("click", function cameraButtonClick (cam) { Ti.Media.takePicture(); }); var myOverlay = Titanium.UI.createView(); myOverlay.add(startButton);Sometimes when I run the app, everything works, and sometimes the app doesn't recognize the click... What can cause this issue ?