摘要:
@Overridepublic boolean onKeyDown(int keyCode, KeyEvent event) {AudioManager mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);int currentVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); switch (keyCode) {case KeyEvent.KEYCODE_VOLUME_UP:// 音量增大mAudioManager.s.. 阅读全文