• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to use PATH_TO_FILE

Beanstalk

Lurker
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?
 
Back
Top Bottom