How to set the mediaplayer volume programmatically. I use it for alarm notification. Any help is highly appreciated and thanks in advance.
Remember to set left and right speaker volumes.
if (System.nanoTime() == alarm){ yourMediaPlayer.setVolume(volume, volume)} }