Top "Android-audiomanager" questions

AudioManager provides access to volume and ringer mode control.

How do you get/set media volume (not ringtone volume) in Android?

Is there a way to get/set media volume? I have tried the following: AudioManager audio = (AudioManager) getSystemService(Context.AUDIO_…

android get media volume android-audiomanager
Android : Calling Activity from Fragment

I am using fragments inside an activity. I am using MediaRecorder to for audio recording. I have two part of …

android android-intent android-fragments android-audiomanager android-mediarecorder
Change Media volume in Android?

Can I change the media volume? and how? I used this so far: setVolumeControlStream(AudioManager.STREAM_MUSIC); But have a …

android audio android-audiomanager
Using SeekBar to Control Volume in android?

How can I accurately change the volume of my app using a seekbar without controlling the volume by the volume …

android volume seekbar android-audiomanager
How to detect when a user plugs headset on android device? (Opposite of ACTION_AUDIO_BECOMING_NOISY)

I'm developing an application that has the following requisite: If there is a headset plugged in the device and the …

android broadcastreceiver android-audiomanager
In Android 7 (API level 24) my app is not allowed to mute phone (set ringer mode to silent)

I have an app that mutes the phone by using AudioManager and setting ringer mode to silent with this code: …

android android-audiomanager android-7.0-nougat
Android: Voice Recording and saving audio

I am working on application that will record the voice of the user and save the file on the SD …

android android-intent android-mediaplayer voice-recognition android-audiomanager
Android SDK. audioManager. setStreamVolume max int value

I'm in the process of developing an Android app. I have been able to successfully set the speaker volume using: …

android android-2.2-froyo android-audiomanager
Android - can I mute currently playing audio applications?

Hi I'm new to this. My self-teaching project is a small application which plays an audio news stream. To be …

android audio android-audiomanager
Playing sound over speakers while playing music through headphones

I have an AudioTrack streaming via headphones. I have to send a SoundPool to built-in speakers only, without interrupting the …

android soundpool android-audiomanager audiotrack