The strange reason I wrote this kind of functionality, and Android seems to play louder when you raise the volume of the stream.
am.setStreamVolume(AudioManager.STREAM_MUSIC, progress,AudioManager.FLAG_PLAY_SOUND);
Here is what I used in my application. am is an instance of AudioManager that you can get by writing:
AudioManager am = (AlarmManager) getSystemService(AUDIO_SERVICE);
To turn off the sound, you can replace AudioManager.FLAG_PLAY_SOUND with the value "0", which should turn it off.
I'm not sure you can replace this sound in AudioManager, but you can play these custom sounds using MediaPlayer inside your onKeyDown methods.
Hope this helps.
source share