我正在为android编写一个应用程序,调出音量并播放45秒钟的歌曲,然后停下来。这很好,但是我只能将音量调高到50%,有没有办法使用setVolume()将音量调高到100%? 这是我的代码: final MediaPlayer mp = MediaPlayer.create(context, R.raw.sound_file_1);
//plays eye of the tiger for
我试图从服务中启动MediaPlayer,并且它不像预期的那样打开。我米收到以下异常, android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.MUSIC_PLAYER flg=0x10000000 }
请找到该获取的服务调用的代码片断,