语言

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);

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

3 回复
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.