Does iphonePickMedia work on iPad?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Does iphonePickMedia work on iPad?

Post by grovecat » Mon Jan 23, 2012 2:17 pm

I added a button with this code to a working app:

on mouseUp
iphonePickMedia "music"
end mouseUp

The app loads onto my iPad but it won't start up. It does if I comment out the above code.
What is going on here?

Using LiveCode 5.0.2 and iOS 5.0.1 on an iPad 2.

TIA
Don

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Does iphonePickMedia work on iPad?

Post by Mark » Mon Jan 23, 2012 4:35 pm

Hi Don,

Maybe you forgot to check the necessary permissions in the standalone settings.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Re: Does iphonePickMedia work on iPad?

Post by grovecat » Mon Jan 23, 2012 11:28 pm

Thanks Mark

I don't see a relevant permission in the Standalone Settings. Which one is it?

Perhaps I should have added that with the button code active, the app itself will not start up at all (so I don't get a chance to click on the button). However, it will start up on the simulator but of course clicking on the button has no effect, as stated in the release notes.

So I am puzzled that the mere presence of that code inhibits the app from starting up on the iPad, even when the code is not invoked.

Cheers
Don

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Does iphonePickMedia work on iPad?

Post by Mark » Mon Jan 23, 2012 11:42 pm

Hi Don,

I thought it would be one of those radio buttons. Apparently not. If I find some time, I'll test this.

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Re: Does iphonePickMedia work on iPad?

Post by grovecat » Tue Jan 24, 2012 1:59 pm

I have discovered that it works OK on my iPod touch, so I restarted the iPad and reloaded the app but unfortunately that did not do the trick.

So Mark, it would be great if you could try it on an iPad 2 (preferably running iOS 5.0.1)

Thanks
Don

grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Re: Does iphonePickMedia work on iPad?

Post by grovecat » Tue Jan 24, 2012 11:40 pm

I have now tried it on my wife's iPad 2 with the same result so I have reported it to Runrev Support. It looks like a bug and hopefully it can be soon fixed.

grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Re: Does iphonePickMedia work on iPad?

Post by grovecat » Fri Jan 27, 2012 12:10 am

Now I've got egg on my face.

Runrev Support could not reproduce the problem and asked for a stack. So I created another new stack with just one button invoking iPhonePickMedia and one field to hold the result, virtually identical to a previous one that showed the problem. And this one worked on the iPad, so I don't know what has been going on. Perhaps the universe is trying to tell me something (like I am not cut out to be a programmer ..).

Anyway all is well.

Post Reply