This is the place to get technical support and discuss all things to do with MergEXT
4 posts • Page 1 of 1
Recently purchased all of the mergExt apps. I tried the demo mergAV on android and it works fine. But the mergAV iOS demo doesn't won't too well on iOS iPhone 5S or 6. The camera is very buggy and crashes frequently and most of the time won't launch.
I was able to get the Camera to work on an iPhone 5s running iOS 8.3 by putting in try statements. When I first press the button "btnCreateCam", the camera launches fine. After I take a photo, I go to a second card and display that photo in an image id 1010. That works well. But when I hit the back button on card 2 and go back to my initial card, I cannot create the camera again by pressing the "btnCreateCam". When I take a pic, I do delete the camera with a 'mergAVDeleteCam" command. But the program just hangs. So I can only take one pic.
Can anyone help?
Can anyone help?
Code: Select all
//btnCreateCam on mouseUp set the visible of graphic "imgCamera" to true try mergAVCamCreate catch e answer e & " camera not Created" end try try mergAVCamSet "rect",the rect of grc "imgCamera" catch e answer e & " Rect of Camera not set" end try try mergAVCamSet "visible","true" catch e answer e & " Visible of camera not set" end try end mouseUp on closeCard try mergAVCamDelete catch e answer e & " Camera not deleted" end try end closeCard //btnPhotoCapture on mouseDown mergAVCamCaptureImage true,1 end mouseDown on mergAVCamImageCaptured pData set the lockScreen to true try put pData into image ID 1010 set the height of image ID 1010 to round(the formattedHeight of image ID 1010 * the width of image ID 1010/the formattedWidth of image ID 1010) catch e answer e & " couldn't capture image" end try //now delete the camera mergAVCamDelete go to card ID 1008 unlock screen with visual effect dissolve end mergAVCamImageCaptured