Page 1 of 1

mergAV 3.5 for iOS and OS X and mergReader 1.1

Posted: Tue Jul 16, 2013 2:47 am
by monte
Hi LiveCoders

Today I'm releasing mergAV 3.5. This release has some new features and bug fixes in addition to the major milestone of an OS X release. The OS X release may only be used with LiveCode 6.1+ because there were some engine changes required to make this happen.

mergReader 1.1 is also available and adds the minor feature of an optionally configurable document title.

For more information please go to http://mergExt.com

Cheers

Monte

Re: mergAV 3.5 for iOS and OS X and mergReader 1.1

Posted: Tue Jul 16, 2013 7:44 am
by Mag
Thanks for the great news!

Re: mergAV 3.5 for iOS and OS X and mergReader 1.1

Posted: Tue Jul 16, 2013 5:10 pm
by Mag
In the documentation I see this:
function mergAVCanAccessPhotoLibrary

Checks the authorisation status of the app to access the photo library. iOS Only.

Returns true if the app can access the photo library

Code sample
if mergAVCanSaveVideo(tVideoPath) then show btn "edit"
What is the correct use of mergAVCanAccessPhotoLibrary? I have just to replace mergAVCanSaveVideo with mergAVCanAccessPhotoLibrary? I always need a file path?

Re: mergAV 3.5 for iOS and OS X and mergReader 1.1

Posted: Tue Jul 16, 2013 9:07 pm
by Mag
OK, I did some tests and I found the answer.

Code: Select all

if mergAVCanAccessPhotoLibrary() is not "true" then 
Thank you for this great piece of software Monte.

Re: mergAV 3.5 for iOS and OS X and mergReader 1.1

Posted: Wed Jul 17, 2013 2:44 am
by monte
Hi Mag

Looks like you worked it out yourself but you should probably call both mergAVCanAccessPhotoLibrary() and mergAVCanSaveVideo(tVideoPath) to ensure that both you have permission and the video type is supported by the library.

Cheers

Monte

Re: mergAV 3.5 for iOS and OS X and mergReader 1.1

Posted: Wed Jul 17, 2013 7:26 am
by Mag
Hi Monte, also if I create the video with mergAV:

Code: Select all

mergAVCamStartRecording (specialFolderPath("documents") &"/video.mov")
do you suggest to check if the video type is supported by the library, or in this case is not necessary?

Re: mergAV 3.5 for iOS and OS X and mergReader 1.1

Posted: Wed Jul 17, 2013 8:14 am
by monte
well.. I'd be surprised if it wasn't supported if the device wrote the file... however, I'm not sure if there's any size limits or anything in the library.

Re: mergAV 3.5 for iOS and OS X and mergReader 1.1

Posted: Wed Jul 17, 2013 8:21 am
by Mag
Thank you!