2016년 12월 7일 수요일

How to pull an mp4 video file from internal storage into the video player


It seems when I connect AI to my android tablet the video player works as it should but when I actually build the app and put it on the same tablet I get error 701. Here is a screenshot of the code used. What can I do to make this work? Note there is no SD card in the device. It is purely running on internal storage and the files I need are located within the Download folder.

2016-12-06 (1).png 표시 중

-- 
try a correct relative path, which is in your case
/Download/3d.mp4       

-- 
I changed the file path to /Download/3d.mp4 and it's still coming up with error 701.Am I missing something?

-- 
then I would try the full path, which is
  file:///mnt/sdcard/Download/3d.mp4

-- 

댓글 없음:

댓글 쓰기