2

Is there a way in the standard SDK that I can access the different channels such as Navigation Volume, Media Volume, Ringer Volume? If so can I get the level it is at and set it?

Daniel A. White
  • 187,200
  • 47
  • 362
  • 445
  • Maybe it can help http://stackoverflow.com/questions/2924676/how-do-i-get-the-current-volume-amplitude-in-an-android-mediaplayer – ademar111190 Jul 26 '13 at 14:48

1 Answers1

3

Use AudioManager. Here is a sample application demonstrating using the volumes for the audio streams.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491