Languages

Menu
Sites
Language
Manually play button click sound

How can I manually play button click sound?

In Bada I can do this in next way:

TouchEffect __TouchEffect;
__TouchEffect.Construct();
__TouchEffect.Play(TOUCH_EFFECT_SOUND);

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

3 Replies
Keans
Take a look on Tizen::Media::AudioOut. https://developer.tizen.org/help/topic/org.tizen.native.apireference/classTizen_1_1Media_1_1AudioOut.html
Andrii Kobzar
there is no standard button sound
john Smith
Hi, It seems that, the methods are deprecated. If you want to do this scenario you can use ITouchEventinfo Class. In that you are able get onTouchpressed called back, once you get your touch event you can play the file as you play in button click.