我是android新手。我正在尝试从SD卡播放视频。 这是我所使用的示例代码: public class videoa extends Activity {
/** Called when the activity is first created. */
@Override
protected void onCreate(Bundle savedInstanceSt
当我尝试下面的媒体播放器不能正常工作: 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