2012-10-27 100 views

回答

1

假設你有你的原始文件夾中已有媒體文件.. 嘗試這樣的:

private MediaPlayer mp; 
mp =new MediaPlayer(); 

mp = MediaPlayer.create(YOUR ACTIVITY, R.raw.mediafile); 

mp.start();