Access android audio output - android

Hi i want to record sound that is currently played in android handset, actually i want to get access to audio played by speaker or headphones.
Is there any way to do it?

Not via the Android SDK, sorry.

Related

How to record audio using adb?

I have this project, that I need to record the sound played on my android devices. I know how to use ADB to do screen recording, but it has no audio with it.
I searched for answers and I suppose there is something called "tinycap" and "teesink" which is used for audio recording?
I am using windows platform, I don't know how to perform tinycap or teesink.
https://source.android.com/devices/audio/debugging
Can somebody tell me how to record audio on my android devices directly without using thrid-party apps?

Android Record audio to file controller when calling WebRTC

currently I'm developing Android app which using WebRTC native. I want to know if there is a way to record only my voice to file during the call? There is RecordedAudioToFileController.java but it will record my voice and caller voice also. I need to record my voice during the call only. Thank you.
I got it, we need to change the audio source in WebRTCAudioRecord from Voice communication to Mic.

How can I record a video with sound of my app using Android Studio?

I am developing an app with Android Studio 2.1 and I would like to record a video of an usage example, with sound.
I have already recorded some videos, but always without sound. As the sound in my app is a key feature, I would like to have the video with the audio output of my app.
Is it possible? In case it is, how could I use it?
Thanks!
Maybe you should try using external app for recording both screen and sound. I have dig in just few mins and i have found some apps.
Here I left link to a top http://www.androidauthority.com/best-screen-recording-apps-600838/
The last one seems to be the one you are looking for (SCR Screen Recorder, which requires root), hope it works!
Other option could be to use a male to male audio cable and record the audio transmitted to the pc.

Play a sound file in phonecall android

I want to ask you if there is an API that plays a sound file (mp3,...) instead of microphone or change the input from microphone to speaker like stereo mix on windows .
I think you're looking for this question:
Stream audio to a phone call Android
Summary: You need to be rooted if you want to achieve that

Record sound while playing music in PhoneGap

I want to know if it's possible to record sounds while the device is playing music, the idea is try to develop a "karaoke" and save your voice.
I'm using PhoneGap and the OS is Android. At the moment I don't want the code, I just want to know if that is possible and try it by myself.
thanks
Yes, yes you can. Look at the PhoneGap Media API. You would need two media objects. One for record and one for playback.

Categories

Resources