Android :: Audio Record Using Droid NDK / Access And Use It?
Jul 21, 2010
I try to record audio using android ndk. people say I can use "frameworks/base/media/libmedia/AudioRecord.cpp". but it is in kernel. how can I access and use it?
View 2 Replies
Jan 17, 2010
I have searched the whole group but wasn't able to find a answer for my problem.I want to record audio from the microphone, apply some audio signal processing and than save the processed audio data in a compressed format.I figured out, how to record audio uncompressed but now I wonder if I can use some api functions to store this data in a supported compressed format.
View 4 Replies
View Related
Jun 7, 2009
How do I record some audio using Android?
View 1 Replies
View Related
Aug 20, 2010
How to put on pause? I have not found such a function. There are other ways?
View 1 Replies
View Related
Jul 7, 2010
Does anyone know of a way to do this? I have a FM audio stream that I want to record to a digital audio file.
View 5 Replies
View Related
Jun 2, 2009
Could you please let me know how to do the audio record in android emulator and play the same recorded audio. Could you please help me in proceeding in development.I tried with MediaPlayer API's also.Its not working.
View 5 Replies
View Related
Mar 10, 2009
I want to send audio stream to internet directly, instead of store in the file. But the output of MediaRecord only supports file by seting setOutputFile(String path) , not OutputStream. Is there any methods to do this?
View 2 Replies
View Related
Jul 22, 2010
Is it possible to record an audio (not a phone call) using the blue tooth input and not the device microphone? I am able to playback whatever am saying through device's mic but not able to figure out how to use the blue tooth mic instead. Any assistance would be greatly appreciated.
View 1 Replies
View Related
Aug 2, 2010
I want to record audio in MP3 format in my android application. I know I can read PCM audio using the audioRecord class. Is there a java library compatible with android that will encode PCM to MP3? Is it possible to use the Lame mp3 encoder library?
View 1 Replies
View Related
Apr 11, 2014
I am trying to run some audio tests on smartphones. what i want to do is to generate a tone from the phone's speaker AND record it by the same phone's microphone at the same exact time.the tone generations runs pretty well, but is it possible to self record?
View 8 Replies
View Related
Jul 22, 2010
Is it possible to record an audio (not a phone call) using the bluetooth input and not the device microphone? I am able to playback whatever am saying through device's mic but am not able to figure out how to use the bluetooth mic instead.
View 6 Replies
View Related
Jun 19, 2010
1st. Are our phones (HTC Incredible) capable of digitally recording audio from a mic? For example, can I plug a microphone into the 3.5mm jack and start recording the audio. (given the hardware is capable) Which leads me to my next question, if so, is there an app for it? I searched and searched but couldn't find much info on it...
View 3 Replies
View Related
Mar 29, 2010
I'm getting the above error message when i run below code. please let me know if you have found any solution for this? code...
View 2 Replies
View Related
Oct 26, 2010
I can use AudioRecord to pull the audio data out. But the format is PCM, which is too huge to sent out through network. Does any one know how to change it to AMR ?
View 2 Replies
View Related
May 14, 2009
Now i want to record audio in WAV format. What should i do now because android only supports *.3gp or *.AMR type?
View 6 Replies
View Related
Jul 19, 2010
I need to record audio and video files in 3gp/mp4 format at the same file and same time.
When i run my application file is created with videofile.3gp but video does not record in sd card on the emulator.please let me clear one thing does video records on the emulator? if i run this code on android supported device do these error clear.
Please help me. I am new to this topic.please find the code and errors below.
package com.video;
* @copy Rights
* audio.java
* sample code for Eminosoft Developerworks Article
* Android development Team
* www.eminosoft.cm
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.provider.MediaStore;
import android.provider.Settings;
import android.util.Log;
import android.view.View;
import android.widget.Button;
public class video extends Activity {
public MediaRecorder mrec = null;
private Button startRecording = null;
private Button stopRecording = null;
private static final String TAG = "SoundRecordingDemo";
File audiofile;
File video;
private MediaPlayer mMediaPlayer;}
View 2 Replies
View Related
Dec 20, 2009
How to record audio into ogg format?
View 1 Replies
View Related
Jun 4, 2010
I'm new in Android development and I have the next question/problem. I'm playing around with the Media Recorder class to record just audio from the microphone. I'm following the steps indicated in the official ://developer.android.com/reference/android/media/MediaRecorder.html
So I have a method that initializes and configure the Media Recorder object in order to start recording. Here you have the code:
//initializes audio recorder
//configure the input sources
mrecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
//set the output format
mrecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
//set the audio encoding
mrecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT)
View 1 Replies
View Related
Oct 9, 2009
My application cannot handle the JNIE overhead, as I need to make 2 JNIE calls to the native C/C++ code for every 20msec. So I am trying to use the native media libraries and the realted C/C++ files provided by Android in the folder "//external/srec/audio/test" of the donut build. Ex. AudioHardwareRecord, AudioInRecord etc.. I am implementing all the calls in the native layer.
I am using the sampling rate as 8000 and want to read 160 samples (320 bytes) at a time.
I used the following values to create the AudioRecord..
CODE:..........
It says "success" after creating this interface but I am getting the error "Bad Value" if I am doing the InitCheck.
And it is crashing once I start reading the samples or if I try to retrieve the configured sampling rate.
Has anybody tried to access this native code?
View 4 Replies
View Related
Aug 11, 2010
i'm big into freestyling. i have over 1500 instrumentals on my phone.i can't figure out how to play them and record myself (either audio or video) at the same time.i figure i'm either gonna have to download a new music player that won't close or a video/audio recorder that won't close the "Music" player that came with my evo.and before anyone goes tryin to be smart, i realize that even if i was able to accomplish such an action the quality would probably be really low due to speaker and mic being so close.my intent is more of a "on the fly lyric composition" rather than a " put myself on youtube to show everyone how awesome i am"
View 2 Replies
View Related
Oct 19, 2010
We have one of the crappiest microphones on any phone. I tried to record some audio/video with my camera and the freakin audio SUCKS! what gives? is there anything HTC/Sprint/we can do about this?
View 8 Replies
View Related
Jan 25, 2013
I have a Galaxy Note 2 and can't figure out how to record via my bluetooth headset not via the phone mic. Tried 20+ apps that record great via the phone mic but not via my headset.
View 10 Replies
View Related
Sep 12, 2010
I want my app to access database every hour and read next record from the table then update desctop widget and send notification. I know that there is AlarmManager which I can use to register my Intents but they are deleted when the phone is turned off or rebooted. Is there any other android class/service that I would update my application continuously even when I reboot my phone?
View 2 Replies
View Related
Oct 22, 2012
Why do apps like Screencast require Root access in order to record/capture screen images?
Motorola Photon 4G
View 2 Replies
View Related
Sep 19, 2010
I would like to access the audio that my call manager captures while a call is active.
I would like to access it before it is transmitted to the other party.
View 1 Replies
View Related
Jul 5, 2009
I am trying to play a ringtone that is specified as the Default system ringtone. Unfortunately when i get the actual URI I get the above (content://drm/audio/2) and then when I try to play it, I hear the fallback ringtone - the one that you'd hear if the default was unavailable.
Ringtones appear to get this URI when downloaded through sites such as Myxer and the like.
Now it seems that when the default ringtone is on the SD card under a folder called 'ringtones' I do not run into this problem.
I have tried to add the line:
<uses-permission android:name="android.permission.ACCESS_DRM" />
...to the manifest but that doesn't seem to work either.
If anyone has an idea as how I would be able to play this ringtone, I would be eternally grateful! I have been researching this and I can't seem to find anywhere any documentation on how to do this.
View 8 Replies
View Related
Oct 13, 2009
Is it now possible mit sdk1.6 the audio decoder to access/use without using MediaPlayer ?
I saw : New version of OpenCore
Android 1.6 includes the updated OpenCore 2 media engine, which has:
* Support for OpenMAX encoders* Support for additional audio codecs in AuthorEngine* Improved buffering model supports shared buffers allocated in the decoder. but dont know how!
View 3 Replies
View Related
Sep 28, 2010
Can android apps share access to the audio output? I sometimes use Maps Navigation, which will give audible turn by turn instructions. I plug the EVO to my car stero using a patch cord so that I hear the instructions over my radio.
However, if I'm using another application that outputs audio, like Pandora or the music player, they go silent as soon as Maps speaks an instruction.
What I would like is for the apps to be able to share the audio output with some kind of priority set, so that Pandora would pause momentarily while Maps spoke an instruction and then resume.
Is that possible?
View 4 Replies
View Related
Mar 8, 2010
Is it only possible for one object to access the microphone at a time? That is, could I simultaneously use an AudioRecord to do some audio processing and use a MediaRecorder to record the incoming audio?
View 2 Replies
View Related
Apr 27, 2009
Is there a method to access the digital output of the audio codec without first storing it into a file, a streaming output?
View 5 Replies
View Related