Hey,
I was trying to use the MediaPlayer class and I have to specify the location of my video to be played. I tried setting the location the same way as setting the layout, using that same "R.layout.main" kind of format. If I create a folder called "video" in my "res" folder and put the video I want to play in it, what should my PATH_TO_FILE look like?
I was trying to use the MediaPlayer class and I have to specify the location of my video to be played. I tried setting the location the same way as setting the layout, using that same "R.layout.main" kind of format. If I create a folder called "video" in my "res" folder and put the video I want to play in it, what should my PATH_TO_FILE look like?