Can a videoview play a video stored on internal storage?

前端 未结 6 1502
一向
一向 2020-11-29 04:12

I\'m trying to provide my users with the ability to use either external or internal storage. I\'m displaying both images and videos (of a scientific nature). When storing th

6条回答
  •  南笙
    南笙 (楼主)
    2020-11-29 04:45

    I posted a custom VideoView implementation there.

    The VideoView implementation has the setVideoFD(FileDescriptor fd) method and solves this issue.

提交回复
热议问题