mergAV 3.5 for iOS and OS X and mergReader 1.1

Find out what's going on with LiveCode (the company), product releases, announcements, and events.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

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

mergAV 3.5 for iOS and OS X and mergReader 1.1

Post by monte » Tue Jul 16, 2013 2:47 am

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
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

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

Post by Mag » Tue Jul 16, 2013 7:44 am

Thanks for the great news!

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

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

Post by Mag » Tue Jul 16, 2013 5:10 pm

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?

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

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

Post by Mag » Tue Jul 16, 2013 9:07 pm

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.

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

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

Post by monte » Wed Jul 17, 2013 2:44 am

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
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

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

Post by Mag » Wed Jul 17, 2013 7:26 am

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?

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

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

Post by monte » Wed Jul 17, 2013 8:14 am

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.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

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

Post by Mag » Wed Jul 17, 2013 8:21 am

Thank you!

Post Reply

Return to “Announcements”