글목록

2014. 3. 31.

[Android] How to make VideoView url



MediaPlayer(24463): error (1, -2147483648)


Uri video = Uri.parse("android.resource://" + getPackageName() + "/raw/videoname"); 


For example


videoname : myVideo.mp4


Uri video = Uri.parse("android.resource://" + getPackageName() + "/raw/myVideo");




댓글 없음:

댓글 쓰기