Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 101
Registered: ‎01-06-2014
My Device: Q10
My Carrier: EE

Play sound on list item tap

Does anyone how I can play a sound when the user taps a list item? Also what audio formats are supported for this? 

Developer
Posts: 16,637
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Play sound on list item tap

a pre-defined sound can be easily played using a system sound
https://developer.blackberry.com/native/reference/cascades/bb__multimedia__systemsound.html

for playing audio i suggest to check out
http://developer.blackberry.com/native/documentation/cascades/graphics_multimedia/audio_video/index....
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Retired
Posts: 418
Registered: ‎07-18-2012
My Device: Q10
My Carrier: Bell Canada

Re: Play sound on list item tap

Check out the Cow Bell sample too...

--
Rob is no longer associated with BlackBerry.