I've tried with a device running Android 5.1.1 and another with Android 4.4.2 none of them load the picture.
What could be wrong?
Code: Select all
on mouseUp
-- set the virtual camera
cameraControlCreate"myFirstCamera"
cameraControlSet "myFirstCamera", "device", "front"
-- give time for the camera to settle
wait for 3 seconds
-- take the picture
cameraControlDo "myFirstCamera", "takePicture"
--answer the result
put the result into img "Img1"
set the visible of img "Img1" to true
end mouseUp