how do i display videos retrieved from resources in my android application
i have posted the code below..can u help me out where am i going wrong?
poojan9118
2010-07-15 05:21:23
A:
MediaPlayer mp = new MediaPlayer();
mp = MediaPlayer.create(context, R.raw.vid);
mp.start();
i have placed a vid.3gp file in my res/raw folder..
i am getting NullPointerException.. what changes do i need to make
why so??
poojan9118
2010-07-14 05:09:05
A:
do we need something called as Surface Holder or something similar
poojan9118
2010-07-14 11:58:42