Does mergAV work in iOS 8?

This is the place to get technical support and discuss all things to do with MergEXT

Moderators: FourthWorld, heatherlaine, Klaus, robinmiller, monte

Post Reply
itsaloya
Posts: 4
Joined: Sun Apr 12, 2015 2:44 pm

Does mergAV work in iOS 8?

Post by itsaloya » Tue Apr 21, 2015 6:36 am

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.

itsaloya
Posts: 4
Joined: Sun Apr 12, 2015 2:44 pm

Re: Does mergAV work in iOS 8?

Post by itsaloya » Tue Apr 21, 2015 6:02 pm

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?

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


itsaloya
Posts: 4
Joined: Sun Apr 12, 2015 2:44 pm

Re: Does mergAV work in iOS 8?

Post by itsaloya » Sun Apr 26, 2015 4:20 am

This was fixed by Monte very quickly with a new release. WOW!! Monte was incredibly responsive. I am completely impressed with his level of service!

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: Does mergAV work in iOS 8?

Post by monte » Mon Apr 27, 2015 2:07 am

Thanks @itsaloya
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Post Reply

Return to “MergEXT”