如何在Android中播放彩信频道?

时间:2014-02-27 09:26:45

标签: android windows-media-services microsoft-media-server

我的代码,但它不起作用:

String LINK = "mms://202.71.98.44/cmtv";
        VideoView video_view_ = (VideoView)findViewById(R.id.videoView1);

        getWindow().clearFlags(WindowManager
            .LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
            WindowManager.LayoutParams.FLAG_FULLSCREEN);

        video_view_.setVideoURI(Uri.parse(LINK));
        video_view_.setMediaController(new MediaController(this));
        video_view_.requestFocus();
        video_view_.start();

如何在Android中播放频道?

0 个答案:

没有答案