Camera Doesn't return control to LC
Posted: Mon Jul 01, 2019 7:34 pm
Hello All,
I am trying to have my app allow the user to take a picture.
I have a button called "Take Picture"
Following the code in the dictionary the code for this button is:
on mouseUp
cameraControlCreate "myCamera"
cameraControlSet "myCamera", "rect", (20, 25, 418, 600)
cameraControlSet "myCamera", "visible", "true"
cameraControlSet "myCamera", "device", "back"
mobilePicPhoto "myCamera", 212,122
end mouseUp
Once the Camera is launched the image from the camera is on the screen (live). The Camera controls never show up and therefore an image is never taken. I can navigate to other cards but the camera image is always on the screen.
Help Please,
Tom
I am trying to have my app allow the user to take a picture.
I have a button called "Take Picture"
Following the code in the dictionary the code for this button is:
on mouseUp
cameraControlCreate "myCamera"
cameraControlSet "myCamera", "rect", (20, 25, 418, 600)
cameraControlSet "myCamera", "visible", "true"
cameraControlSet "myCamera", "device", "back"
mobilePicPhoto "myCamera", 212,122
end mouseUp
Once the Camera is launched the image from the camera is on the screen (live). The Camera controls never show up and therefore an image is never taken. I can navigate to other cards but the camera image is always on the screen.
Help Please,
Tom