i just new in the android world.
Basically i just want to record the users voice.
I have downloaded some samples and i have not been able to test them using the emulator.
Sine it's possible to enable "audio recording support" when creating a new Android Virtual Device, i'm just guessing what's wrong here.
questions:
is it possible to use the emulator for audio recording? how?
thanks
Media Recorder can be used to record video and audio. However it mentions that currently, MediaRecorder does not work on the emulator. If your samples are using this class, it seems it will not work on the emulator.
Also, it would be a good idea to post links to the samples you mentioned.
Related
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?
I have been trying to record audio/video on Android device and play it back using Open MAX AL APIs.
So far, audio playback part works smoothly. I referred native-media example to play mp4 file from the SD card using Media Player object. Before trying video playback, I started exploring audio recording.
While trying recording, I realized that Engine::CreateMediaRecorder returns SL_RESULT_FEATURE_UNSUPPORTED.
Does that mean, Android does not support recording through OpenMAXAL APIs?
This link partially talks about some of the features except Media Recorder. Where are the Android supported features of OpenMAXAL documented?
Yes, it is not supported. Please refer this reply from Glenn Kasten.
I need some way to record android screen AND audio. I have seen some libraries that record screen, but I need audio too. Does such a thing exists? Anybody knows any library to do that? I know something similar is available for iOS (ReplayKit), but seems that is not available for Android. Any alternative for Android?
The only thing in the Android SDK that allows you to record the screen are the media projection APIs. They do not include sound. However, there is nothing stopping you from recording sound yourself and attempting to merge the two. The problem is in getting the audio to accurately sync up with the video.
You can try looking into https://github.com/saki4510t/ScreenRecordingSample.
It does record the screen's video and audio from the microphone.
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.
I have searched a lot on google but unfortunately have not found any solution of screen video recording. If you have used the Screencast Video Recorder from google play, you can better understand my question. Can anyone help me out that how to achieve screen video recording programmatically.
AFAIK Screencast records by reading /dev/graphics/fb0, which is slow.
Programmatically the highest performance method is to create a virtual display. Currently only works on Android 4.4. See the screenrecorder.cpp for how to do this:
https://android.googlesource.com/platform/frameworks/av/+/android-4.4_r1/cmds/screenrecord/screenrecord.cpp
For Android 4.1 and above you can use the SurfaceComposerClient (both from native or Java code), although it's fairly broken on 4.3.
Unless you want to write a screen recorder yourself I wouldn't bother and just use one of the off-the-shelf recorders.
for some more detail see this answer.