C#Android:点击播放声音

时间:2014-10-24 09:05:03

标签: c# android button audio

如果点击按钮,我想播放声音。但它说:

Error CS0103: The name 'MediaPlayer' does not exist in the current context!

迎接

编辑:代码: pastebin

1 个答案:

答案 0 :(得分:0)

只需在代码中添加using Android.Media;即可。

相关问题