How to set the CAMCORDER as the AudioSource for AudioRecord?

by coolbanana » Tue, 25 May 2010 01:59:54 GMT

Sponsored Links

i want to record the audio from Mic(Front) and Mic(back,CAMCORDER)

so for the Mic front, i use MediaRecorder.AudioSource.MIC. However, i
supporse, that the audio fromt both Mics(front and back) are recorded.

and for the Mic on backside is with the SDK 2.1 using
MediaRecorder.AudioSource.CAMCORDER possible. But the App breaks -
"the app stoped unexpectedly".

Is it possible, what i am tring? And where is my bug?

I am working with Motorola Milestone.




Other Threads

1. video recording issue

i am trying to record video and upload to web, i have given my best
effort but no luck, i am not sure if it is possible with android 1.6.
Please help me to figure out the solution. is it possible to do
that.its really urgent


2. How to dynamically add views to custom layout based on size

I have created a custom GameBoard class which derives from
TableLayout.  I have also a created custom GamePiece class to be
placed on this game board that derive from ImageView.  My goal is to
measure the size of the GameBoard and dynamically add a variable
number GamePieces based on the size of the GameBoard.

To accomplish this, I have overridden onSizeChanged in GameBoard to
determine the size of the board and I calculate how many GamePieces to
place based on this width and height.  I have log messages that output
whenever a GamePiece is added to the GameBoard (via addView).  Though
I can see the messages coming through, I never see the GamePieces.

I have found through testing that I can place a fixed number of
GamePieces (which are visible) on the GameBoard in the GameBoard's
constructor, but I cannot know it's dimension at that time.

I have also tried adding the GamePieces in the onLayout method, but
get the same results as onSizeChanged.

What is the correct method for determining the size of my GameBoard
and placing a variable number of GamePieces based on that size?

Thanks in advance,


3. Trouble getting location to recorded audio

4. Is it possible to use an upgraded version of Webkit?

5. Which Reference System is used by the Google Maps Api

6. why is my app asking to access phone calls and storage?

7. How to get the highest API level supported by the device?