Android :: Could Not Get Audio Input For Record Source / Solution For This?
Mar 29, 2010I'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 RepliesI'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 RepliesIs 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 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 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'm experiencing some sort of problem. Let's say I have a MediaPlayer object wich can play an audio sound and a Resources object Code....
So when I invoke mp1.start() , sound1 plays, everything's normal.
But when I try to change the sound that my MediaPlayer should play, it doesn't work, here is what I do code...
I'm pretty sure someone can see a mistake in my code.
I'm on my ally now and something that's very annoying is the lag when I'm typing in a feild on a webpage. I type much faster then the letters show up. So for example if I type a sentabce and finsh it in 4 seconds it will take 8 seconds to fully finish typing and show up on the screen. This dosent happen in native apps or texting ect. Only the browser.
View 3 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 RelatedHow do I record some audio using Android?
View 1 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 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 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'm looking to edit the user input functionality for the browser. Does anyone know where in the source code user input controls browser functionality?
View 2 Replies View Relatedi want to ask about that can we convert the input source type data in android. my prob is here that i get the data from the url not in tags form. i fetch output in the inputsource type. after that i want to parse the data in meaningful form is this possible or not? if this possible then how can i implement?
View 1 Replies View RelatedGoogle API has support the voice input. Where could I find the source code for that?
View 2 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 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;}
Anyone else have this problem? about 1 out of 4 calls the people on the other end (whether they call me or i call them) can hear me but i can't hear them. just happened again, though this time i tried 5 times in a row to make a call and it apparently went through but i had no audio. finally on the 6th try i could hear. also, i received a call but the phone never rung.
on an unrelated note i just had to resign into google. and a couple of forced close problems. hoping this isn't 2.1 related. though i had the audio problem before.
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?
Does anyone know how to get usefully information from audio that comes from the mic? I would like to parse the audio bit stream to gauge how large or dmall the audio wave is any help would be great.
View 2 Replies View RelatedThe use case that I have to emulate is to inject random keypresses. I have observed it that it is possible using adb shell command "input". Can someone point me to the source code in the android build tree, so that I can accordingly implement the same in our test app.
View 2 Replies View Relatedi'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 am not able to use MediaPlayer/VideoView to make rtsp to work in Android. So I have created a client to interact with RTSP server, I have succeeded in doing this.I am able to get the video/audio frame from RTSP server (MySpace) in Android. Now I want to play the frames. I have searched OpenCore APIs to play the frames, but didn't get any APIs. My investigation: There is a class PlayerDriver.c It creates two sinks one audio and other video. handleSetVideoSurface handleSetAudioSink Two objects of type PVPlayerDataSinkPVMFNode are created. I suspect this class has a way to give the stream as input, but I am not getting the definition of this class. Can you suggest me is there any class I need to look into it?
View 1 Replies View Related