如何打开自定义标题的视频文件

时间:2015-02-16 18:32:38

标签: android

我想打开视频文件并在视频播放器中设置预览标题,其标题与文件名不同(默认情况下使用)。

            String videoFile = "Video file url / path";
            Intent intent = new Intent(Intent.ACTION_VIEW);
            intent.setDataAndType(Uri.parse(videoFile), "video/mp4");
            // Is there an extra to set the previewed video title?
            mMainActivity.startActivity(intent);

0 个答案:

没有答案