Android :: How To Record Audio Using Droid 1.5
Jun 7, 2009How do I record some audio using Android?
View 1 RepliesHow do I record some audio using Android?
View 1 RepliesI 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 RelatedI 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 View RelatedHow to put on pause? I have not found such a function. There are other ways?
View 1 Replies View RelatedDoes 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 RelatedCould 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 RelatedI 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 RelatedIs 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 RelatedI 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 RelatedI 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 RelatedIs 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 Related1st. 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 RelatedI'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 RelatedI 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 RelatedNow 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 RelatedI 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;}
How to record audio into ogg format?
View 1 Replies View RelatedI'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)
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?
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 RelatedWe 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 RelatedI 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 RelatedI connected my phone via USB to my RR sport to upload audio files to the RR hard drive. However, I keep getting connection error. Apparently my device is not being recognized as a storage. I did the unmount thinking. Also, I am wondering how I can play audio from my phone through the RR audio system.
RR is 2010.
just started using the Pandora music app, but my kids in the back seat could not hear it. so I stopped by Walgreens and picked up the "JUPITOR JACK". you can't miss it cause it has the big red ad: "AS SEEN ON TV". it works well enough, but I had to tweak my car audio system to make it decent. whatever the droid plays comes out on the car radio, it's better then my old belkin FM transmitter.
View 9 Replies View RelatedPlease help me if you know how to record voice and if anybody call us than record both voice.
View 2 Replies View RelatedSay, we have a table created as:
create table notes (_id integer primary key autoincrement, created_date date)
To insert a record, I'd use
ContentValues initialValues = new ContentValues();
initialValues.put("date_created", "");
long rowId = mDb.insert(DATABASE_TABLE, null, initialValues);
But how to set the date_created column to "now"? To make it clear, the
initialValues.put("date_created", "datetime('now')");
Is not the right solution. It just sets the column to "datetime('now')" text.
I try to increase the value of an integer key in a row in my table. However, nothing really seems to happen.
db.rawQuery("UPDATE table SET key = key + 1 WHERE name=?", new String[] {name});
However, this code works fine (just sets the key to a hard-coded value):
ContentValues values = new ContentValues();
values.put("key", 2);
db.update("table", values, "name=?", new String[] {name});
Also tried '?' instead of just ?, but it resulted just in a run-time error.
I know the droid x does, but how about the droid 2?
View 25 Replies View RelatedI need to launch a service running in the background,that should record what's on the current screen for say about 10 sec.. i should able to save it in a file or on any storage device and later i should able to retrieve it also..
View 2 Replies View RelatedIs this possible to run an application in back ground and record incoming call on android phone ? Any body having any link or some thing for learning recording call.
View 2 Replies View Related