Doese anyone know of a tutorial on how to make a Volume Controller like this one (with a Save button at the bottom). This is my problem, how to make that “Save” button. I can create all the volume SeekBars, but unfortunately when I make changes on SseekBar it automatically changes the volume from the phone settings (ringer, notification, media, in call).
Thanks in advance.
First off, use the
SeekBarand retrieve the value it sets to. Don’t set the volumes while theSeekBaris adjusted. And then, when the button Save is pushed, send those values to the AudioManager.Use this link for more detailed explanation: Android Development: Change Media volume? as well as this one: SeekBar1.java
Here’s a quick example of how it might look like: