Android :: Audio Recording From Bluetooth Headset?
Apr 9, 2009
I am developing a recorder application It works fine with Microphone. I want to record from Bluetooth headset. I set it like
my_Aud_Mgr.setMicrophoneMute(true);
//AudioManager my_Aud_Mgr;
my_Aud_Mgr.setBluetoothScoOn(true);
But it cant record from Bluetooth device. How to record from Bluetooth device.
View 2 Replies
Jul 15, 2010
How do I tell my droid X to port all audio to my headset? I used to do this with my windows mobile phone and I cannot seem to find the correct setting.
View 4 Replies
View Related
May 20, 2009
I met a problem of bluetooth headset. I want to switch audio playing to bluetooth headset when bluetooth headset is paired. I found BluetoothDevice in android sources which can control bluetooth. However it is not contained in android.jar. So I used AudioManager.setBluetoothScoOn(true)
But it still can't work.
View 16 Replies
View Related
Aug 18, 2010
Can we play the audio(amr file) to the Bluetooth headset(no A2DP support) by using android 2.1/2.2 version APIs? If so can you suggest me which API I have to use to do the same?
View 2 Replies
View Related
Jun 27, 2010
if it was possible to route audio files from the phone to a bluetooth headset on versions of Android API Level 7 and under (so versions older than the new Froyo) If so, do you know of any sample code I could look at to figure out how to do this? Or perhaps just point me in the right direction?
View 2 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
Apr 4, 2010
I recently aquired a HTC Desire froom T-Mobile UK and one of the first things i did was to pair the headset with phone. All went well up to the point of using it to liten to music and video(a2dp), alas that did not work.
Making phone calls work, and strangely enough controling playback of media via the headset (avrcp), but no other audio routed through the headset. I tried a second a2dp headset and it was the same issue. They work perfectly on my other phones for years, the Desire is the first to have this problem.
- So could it be T-Mobile or HTC forgot/screwed-up the a2dp profile?
- Do i have a faulty handset? everything works well.
- Am I doing something wrong somewhere? I went throught the user guide a few times just to be sure.
View 22 Replies
View Related
Nov 11, 2009
Seems like I can only make calls but don't here music through my bluetooth headset. Is there some setting I'm missing? Why doesn't voice dial activate when I click on the headset. I always have to open the Voice Dial app by clicking on the screen.
View 22 Replies
View Related
Sep 16, 2010
I've paired a Motorola HS820 with my Desire. It all seems to connect and will even dial from the phone if I hold the button down but it doesn't seem to pass the audio through to the headset.
View 1 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 6, 2012
I know this might be a silly question and probably not usefull to many but i am trying to connect audio out via bluetooth and out the headset jack at the same time
View 1 Replies
View Related
Jun 22, 2010
I Just got galaxy a few days ago, that's my first android and I'm really happy with it (especially after flashing to drakaz's ROM). But, there's one issue though: Since I'm using a motorcycle as my main vehicle, I'd like to mount the phone above the gauges and use my H350 For voice navigation when using GPS/phone calls/music.
(GPS navigation is the main reason for doing this). I've managed to pair the headset with my phone, under settings. I see my H350 with the following status: "Connected to phone audio". But still, except making phone calls, I can't hear music/any other audio with my bluetooth headset, it comes out of the phone's speaker instead. Is there any workaround/hidden setting I didn't see? I'm using "waze" for GPS btw.
View 2 Replies
View Related
Jan 27, 2010
I have a non -A2DP single ear BT headset (Plant ronics 510) and would like to use it with my Android HTC Magic to listen to low quality audio like pod casts/audio books. After much goggle I found that only phone call audio can be routed to the non-A2DP BT headsets. (I would like to know if you have found a ready solution to route all kinds of audio to non-A2DP BT headsets). So I figured, somehow pro grammatically I can channel the audio to the stream that carries phone call audio. This way I will fool the phone to carry my mp3 audio to my BT headset. I wrote following simple code.
import android.content.*;
import android.app.Activity;
import android.os.Bundle;
import android.media.*;
import java.io.*;
import android.until.Log;
public class BT Audio Activity extends Activity. But none of the above worked. If I remove the Audio Manager calls in the above code, the audio plays from speaker and if I replace them as shown above then the audio stops coming from speakers, but it doesn't come through the BT headset. So this might be a partial success. I have checked that the BT headset works alright with phone calls. There must be a reason for Android not supporting this. But I can't let go of the feeling that it is not possible to pro grammatically reroute the audio.
View 5 Replies
View Related
Sep 10, 2010
I am a new SE user and am still getting to grips with using the phone's features. Could anyone advise how to transfer a call from a headset back to the phone and phone to headset? Whilst I am asking inane questions, is it possible to use the phone i.e. return to menu when in a call?
View 2 Replies
View Related
Apr 16, 2009
One known limitation of SDK 1.1 was that audio can be recorded only to a File and not to a network stream. Is this still an issue with 1.5 SDK?
View 4 Replies
View Related
Feb 24, 2009
I'd like to create an audio recording in Android. (Actually, I just want access to the mic without recording it, but it seems that's not supported so I'll have to create a recording and tail the file). I'm having a very hard time getting started. Mostly I'm just hoping that someone from Google reads this and will update the documentation because the example won't compile - it looks like it's from some previous version of the SDK because there's an error in every other line. I made my best guess as to what the usage should be, but I keep getting a number of different exceptions. One question I had is whether I can just specify an arbitrary path to the MediaRecorder to start recording or whether I have to create an entry in the content database. The JavaDoc for MediaRecorder.setOutputFile isn't clear on what it's expecting.
View 19 Replies
View Related
Oct 16, 2009
I have a Java application where in I am trying to read Audio samples from the mic into a buffer and then write the samples back to speaker from a buffer for playing. I have used AudioRecord and AudioTrack interfaces. Below are my configurations for the Record and Track object creation. AudioTrack(0, 8000, 2, 2, playBufSize, 1); AudioRecord(1, 8000, 2, 2, recBufSize); Using AudioRecord interface I am able to read the samples from mic continiously (8000 sampling rate and 640 samples per read). In the similar way I am also able to write some pcm samples to the speaker from a buffer and play it continuously using the AudioTrack interface (without record). But when I try to do both record and play simultaneously I am able to only record audio from mic but I am not able to play any samples to speaker. I am getting this error " ------- attemp playback while recording, cheat it! ----- " in the log cat.
I have given the following permissions "android.permission.RECORD_AUDIO" and "android.permission.MODIFY_AUDIO_SETTINGS" in the Manifest file. I didn't find any special permission to play the audio. Is there anything else that I need to enable?
View 3 Replies
View Related
Sep 7, 2009
I will describe briefly my trouble with audio recording.
So, I am doing audio recording using MediaRecorder, but unfortunately when I playback the recorded audio, I have media with a very low volume. I don't here anything (almost anything).
Is there any possibility to setup recording volume?
View 4 Replies
View Related
Nov 9, 2009
Im trying to record audio directly from the system. Using the standard API, you can only record from the MIC or phonecalls, ala: MediaRecorder.Some ways I've tried is to read from /dev/audio and /dev/eac from my app, but I think the sandbox of the app is preventing this.Im thinking about using the NDK, but Im not sure if that would overcome the sandbox aspect ? Ideally, there is some solution outthere to access the audio sub- system directly. Whether it be directly to alsa, to the AudioFlinger, to /dev/eac
View 16 Replies
View Related
Jan 6, 2010
I'm trying to write an App that continuously record audio in memory (in a circular buffer).
Could anyone point me towards a piece of code (perhaps in the kernel) that shows how to best to this?
View 3 Replies
View Related
Jul 7, 2013
I just finished Final fantasy 4 (android), and I wanted to have the remastered soundtracks from it. But on the internet the remastered version is not available yet, I could only find the old soundtracks.
I tried screencast recorder, z screen recorder etc(to record video+audio then extract audio), but they all record audio from the microphone, so that didn't work out. is there a way to extract the audio from the game somehow, or some on screen audio recorder for android devices?
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
Oct 16, 2010
Hey, I have a problem with android programing when I try to record and then play the file that was just recored. I can both record and play the sound but the quality stinks. Its not just bad is really hard to listen to and sound abit like its a computer generated voice. I use the andriod SDK-emulator. The code that sets up the recording looks like this;
MediaRecorder recorder = new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
recorder.setOutputFormat(MediaRecorder.OutputFormat.RAW_AMR);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
recorder.setOutputFile(path);
recorder.prepare();
recorder.start();
And the code playing the file later looks like this;
MediaPlayer mp = new MediaPlayer(); mp.reset();
mp.setDataSource(path); mp.prepare(); mp.start();
I don't know what part that makes the audio file sound really bad or if its just the emulator that makes it bad and that it would work on a real phone.
View 2 Replies
View Related
Dec 21, 2009
I am trying to develop an app which streams live audio/video. I have the mediarecorder to record both audio, video frames , and it does so. But the thing is it records a chunk of audio and then records a chunk of video frames and then records a chunk of audio frames to the file. How do I determine where my audio frames start and where the video frames start?. Also is there any way to figure out the Video frame length ?. Iam really stuck at this point and any help will be greatly appreciated. This is how I initialize the mediarecorder in my app, Code...
View 2 Replies
View Related
Jul 6, 2009
AudioRecord can record audio data in pcm format in realtime, but there is no audio-encoder who can encode pcm data to amr format. may be third-party java code can do this, but the performance may be very low.MediaRecorder just record audio data to disk. not realtime.It seems that this is a real miss-impossible?
View 2 Replies
View Related
Jan 16, 2010
I'm writing an App that needs to continuously record audio in memory and email the last 30 seconds of audio when required. Much of the mediarecorder API is designed to store linear audio in files. Could anybody point me towards a way to continuously record audio in memory, using a circular buffer using the SDK?
View 2 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
Sep 15, 2009
I am working on android for omap zoom2 target. When I play audio clips, playback is fine and audio is coming via headset connected. But I can only hear the audio from left channel, nothing is audible from right channel. How to get stereo audio output via headset.
View 2 Replies
View Related
May 14, 2010
Voice recorder and all other 3rd party apps record audio like absolute garbage. I am very disappointed. Such an awesome camera and camcorder but it sounds like I am speaking through a damn kazoo. I am dying to know if it's firmware or just cheap hardware, not to sound bitter but the iphone has a SUPER high quality mic being that Incredible just came out I was very surprised at the low quality of the audio recording
View 12 Replies
View Related
Sep 20, 2010
I have no problems with the video recording on my Evo it looks amazing but I go to a ton of concerts and such and I love recording them with my Evo but it just sounds Awful, I was wondering if there was any setting to make or change to make the aduio recording sound much better?
View 5 Replies
View Related