Play sound file with local notification (Alarm app)

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
cheolindo
Posts: 3
Joined: Tue Dec 01, 2015 3:06 pm

Play sound file with local notification (Alarm app)

Post by cheolindo » Wed Dec 02, 2015 3:46 pm

Hi . I'm building an alarm app and I am using Local Notifications.

Is it possible to add custom sound to the alert ?
if it is not
¿ How can do this ?

SomDude
Posts: 6
Joined: Tue Dec 22, 2015 5:24 pm

Re: Play sound file with local notification (Alarm app)

Post by SomDude » Tue Dec 22, 2015 6:10 pm

hm...I think you can use

Code: Select all

play audioClip "YOUR AUDIO CLIP FILE LOCATION"
when the notification is triggered.
- SomDude

Jim Mac
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 54
Joined: Wed Jun 28, 2006 9:22 pm

Re: Play sound file with local notification (Alarm app)

Post by Jim Mac » Wed Aug 08, 2018 4:47 am

Did you ever get this working.
The play sound after the notification is triggered only works if the app is open and the banner has already been dismissed (I believe) .

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”