Play working on iPod, not 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

Play working on iPod, not on iPad

Post by grovecat » Mon Jul 23, 2012 4:11 am

I have created a stack with just one button and following script:

Code: Select all

on mouseUp
   iphonePickMedia "music"
   put the result into tSong
   play tSong
end mouseUp
On an iPod 4G running iOS 5.1.1 the above works perfectly. But on an iPad 3 also running iOS 5.1.1 it allows me to pick a song but it does not play. It is not a mute button problem, as I can play stuff otherwise.

I also tried putting a sound file into the engine folder and calling it directly. Again, works on the iPod, not on the iPad.

In all other respects the iPad is behaving normally, so I am puzzled by this problem.

Should I restore the iPad? A pain as I have a lot of apps on it, so any other ideas would be appreciated.

TIA
Don

Post Reply