当我尝试下面的媒体播放器不能正常工作:在Android中,媒体播放器不能正常工作
player=MediaPlayer.create(this, R.raw.mh);
player.start();
我收到此错误:
The method create(Context, int) in the type MediaPlayer is not applicable for the arguments (new View.OnClickListener(){}, int)