10
Views
2
Comments
Solved
How to add a particular sound for a button click in mobile app 
Question

In the mobile app, can we add a sound to a button? 

Rank: #70
Solution

Hi Aswin,


First you need to have the sound on Resources with Deploy to Target Directory to True:



Then you can play the sound using the Javascript below using the path of the resource:



Hope it helps.


Cheers,

João

Rank: #25723

Thanks! its working