SOLVED: cameraControlDo doesn't work on Android
Posted: Sat Aug 05, 2017 9:50 pm
Hi, the code below (attached) works fine on iPhone but it doesn't on Android
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?
Thanks
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