关于android里MediaPlayer创建问题
mPlayer=MediaPlayer.create(getApplicationContext(),ElfPlayerUtil.getFileinSD("love.mp...
mPlayer = MediaPlayer. create(getApplicationContext(), ElfPlayerUtil.getFileinSD("love.mp3"));
mPlayer = MediaPlayer. create(getApplicationContext(), AndroidUtils. getFileinSD("love.mp3"));
mPlayer = MediaPlayer. create(getApplicationContext(), R.raw.love);
三种创建方式的区别与联系是什么?另外,为什么AndroidUtils提示错误:cannot be resolved? 展开
mPlayer = MediaPlayer. create(getApplicationContext(), AndroidUtils. getFileinSD("love.mp3"));
mPlayer = MediaPlayer. create(getApplicationContext(), R.raw.love);
三种创建方式的区别与联系是什么?另外,为什么AndroidUtils提示错误:cannot be resolved? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询