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. Storing data in the APK after creating it

Hello,

This issue has troubled me a lot, please help if you have any ideas.

- I am accessing an xml file from withing the apk, (stored in /res/
raw). The xml is read succesfully. My goal is to use this xml file as
data that can be changed in the apk.

- I tried unpacking and packing the apk file with ZIP compression and
the newly packed apk worked on the phone.

- I changed the xml file and packed the contents of the apk into a new
apk

- "install was unsuccesful" was the result of installing the new apk

As I see it, for every file stored into the apk, there are equivalent
references stored in the manifest and cert files:

for example:
SHA1-Digest: YS8iSCii71WMNrK7CHy5XLXBo+k=

Do you have any other ideas of how I can store/alter information into
the APK?

Please help, this is urgent

--~--~---------~--~----~------------~-------~--~----~

2. "system_server" during camera preview

On real hardware, I happened to find that CPU usage is really high with
"system_server" using around 300MHz when I opened "camera" application in
the launcher panel for preview at 30 fps only. Anybody knows what that
system_server is for during camera preview? I dont find that "system_server"
roars in other applications like media player. Some materials mention that
it has something to do with Java. Could anybody help on this?

-- 
Thanks,
Andy

--~--~---------~--~----~------------~-------~--~----~

3. Show background applications dialog in front of current application

4. Can I initialize an Array list from data specified in xml resource file?

5. Activating G1 without a SIM

6. update

7. How can host machine connect to emulator using socket