android-audiomanager
Recording output from AudioManager - Android
I am looking to record audio from the device and not from the MIC. I have looked through all the usual audiorecorder and mediarecorder functions and cant find anything on it. The sound that I want wou[详细]
2023-03-26 05:04 分类:问答How does setMicrophoneMute() work?
I have been trying to use Android\'s AudioManager.setMicrophoneMute() without much success. That is, it simply refuses to mute the microphone, no matter what I do.[详细]
2023-03-23 16:14 分类:问答What is audio focus in Android class AudioManager?
The AudioManager class has a method abandonAudioFocus() and another method requestAudioFocus(). I wonder what is audio focus? And what happens if an AudioManager 开发者_StackOverflow中文版object gets[详细]
2023-03-17 12:21 分类:问答Setting Vibrate while in a lock state Android
I\'ve hit an interesting part in my studies with Android. I\'m as I go through I have created a timed PendingIntent to go off. Before it goes off, I lock the phone. When it goes off. I see it runs tho[详细]
2023-03-15 15:47 分类:问答Android Context Memory Leak ListView due to AudioManager
I have a ListView and I would expect it to be cleared from memory when the activity finishes. However, it appears that it is leaking. When I check the Memory Dump, and get the pathToGC for the ListVie[详细]
2023-03-14 22:31 分类:问答AudioManager.isWiredHeadsetOn() is not working in android
I want to check whether heaset is plugged in or not... I did it like this AudioManager am = (AudioManager)getSystemService(AUDIO_SERVICE);[详细]
2023-03-10 11:18 分类:问答I want change the volume of ringertonevolume
i used this code to adjust volume but it didn\'t work int volume=23; audio.setStreamVolume(AudioManager.ST开发者_如何转开发REAM_RING,volume, AudioManager.FLAG_PLAY_SOUND|AudioManager.FLAG_ALLOW_RINGE[详细]
2023-03-04 07:57 分类:问答android - overridden volume button has affected back button?
Using the code below I have stopped the use of the volume buttons unless I am streaming audio (otherwise it annoyingly changes the ringer volume), but the \'Back\' button isn\'开发者_如何学编程t worki[详细]
2023-02-20 13:34 分类:问答How to stop other apps sounds?
I have an app that needs to play a sound, and it needs to set the volume at 100% ALWAYS (it\'s an alarm sound). I use this piece of code:[详细]
2023-02-12 05:13 分类:问答Android MediaPlayer not playing sound on some platforms
I\'m currently developing an Android application that plays a sound to the user at various intervals. I have working code (included below) which functions exactly as expected on my Hero (running 2.2)[详细]
2023-02-07 06:37 分类:问答