Page 1 of 1

Does iphonePickMedia work on iPad?

Posted: Mon Jan 23, 2012 2:17 pm
by grovecat
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

Re: Does iphonePickMedia work on iPad?

Posted: Mon Jan 23, 2012 4:35 pm
by Mark
Hi Don,

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

Kind regards,

Mark

Re: Does iphonePickMedia work on iPad?

Posted: Mon Jan 23, 2012 11:28 pm
by grovecat
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

Re: Does iphonePickMedia work on iPad?

Posted: Mon Jan 23, 2012 11:42 pm
by Mark
Hi Don,

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

Mark

Re: Does iphonePickMedia work on iPad?

Posted: Tue Jan 24, 2012 1:59 pm
by grovecat
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

Re: Does iphonePickMedia work on iPad?

Posted: Tue Jan 24, 2012 11:40 pm
by grovecat
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.

Re: Does iphonePickMedia work on iPad?

Posted: Fri Jan 27, 2012 12:10 am
by grovecat
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.