views:

105

answers:

1

how do i play videos in android application?? the videos will be placed in res/raw folder??

+2  A: 

Use MediaPlayer and yes you will play from your res/raw folder

   MediaPlayer mp = MediaPlayer.create(context, R.raw.sound_file_1);
    mp.start();

Audio and Video Playback

Jorgesys