开发者

How to give a FileInputStream to a Videoview?

I would like to know how to give a FileInputStream to a Videoview. I can see that we have an API like setData开发者_C百科Source() for mediaplayer, in which you can give a file descriptor. Is this same kind of thing possible in videoView?


Why do you want to set a FileInputStream ?

use a path or a url

Just for your infomation VideoView is a thin wrapper over MediaPlayer. So if you HAVE to do this go ahead and write your own custom VideoView.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜