Can't stop playing music on Android?

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jinstin
Posts: 1
Joined: Mon Aug 05, 2013 5:12 pm

Can't stop playing music on Android?

Post by jinstin »

I made a simple app for Android to play music.
Button 1:
on mouseUp
play "Stronger.wav"
end mouseUp

Button 2:
on mouseUp
play stop
end mouseUp

It works fine on my computer. But when I test it out on my phone, the music starts but doesn't stop when I click on Button 2. Instead of "play", is there another command I can use to ensure the music will stop? Thank you.
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Can't stop playing music on Android?

Post by Simon »

Hi jinstin,
Welcome to the forum :)

The docs say:
"play empty"
to stop a sound on Android.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Post Reply