【发布时间】:2014-10-24 09:05:03
【问题描述】:
我想在单击按钮时播放声音。但它说:
Error CS0103: The name 'MediaPlayer' does not exist in the current context!
问候
编辑:代码:pastebin
【问题讨论】:
-
只是测试代码:pastebin.com/cifY07e9
我想在单击按钮时播放声音。但它说:
Error CS0103: The name 'MediaPlayer' does not exist in the current context!
问候
编辑:代码:pastebin
【问题讨论】:
只需在您的代码中添加using Android.Media;。
【讨论】: