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.
精彩评论