Simultaneous audio playback and record?

by CharlesC » Wed, 12 Aug 2009 01:25:31 GMT

Sponsored Links
 Is it possible to simultaneously play an audio file while recording
via the microphone?  When I start a recording audio in the standard
way with the  MediaRecorder class, and then start playing back audio
in the standard way with the MediaPlayer class (on an HTC Magic), it
seems that the recorder is cut off when the player starts, resulting
in an empty shell of a 3gp file.


Other Threads

1. Receiving Changes to the Phone state

Hi All,

I'm using the following code in an attempt to get notification that
the phone state has changed.  However, when I run it on the emulator I
can make and receive calls without ever triggering my breakpoint on
the 'Log.d' line.  Can anyone tell me what I'm doing wrong here?

<manifest package="com.technicana.customercontact"
        <uses-permission android:name="android.permission.READ_PHONE_STATE"></
        <receiver android:name=".CallBroadcastReceiver">

And the code file:

package com.technicana.customercontact;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class CallBroadcastReceiver extends BroadcastReceiver {

        public void onReceive(Context context, Intent intent) {
                // TODO Auto-generated method stub
                Log.d("Here", "Broadcast received");



Chris Spicer


2. G1 calendar sync not working

When I add a new event on my G1 phone, it disappears as soon as the
phone sync's with Google calendar. And it's not my my Google Calendar
either. It just disappears as soon as my phone syncs. Any ideas?

3. File download help

4. PAN services

5. Calendar Content Provider

6. how to be affiliate to the android consortium / Open Hanset Alliance

7. Decrypt in Android using RSA