Hello  fellow Android developers,

I am developing sample Video Recorder  for Android.Following is My
code snippet.

                                           recorder=new MediaRecorder
();
                                           recorder.setVideoSource
(MediaRecorder.VideoSource.CAMERA);
                            recorder.setAudioSource
(MediaRecorder.AudioSource.MIC);
                            recorder.setOutputFormat
(MediaRecorder.OutputFormat.THREE_GPP);
                            recorder.setVideoSize(176, 144); // QCIF
                            recorder.setVideoFrameRate(30);
                            recorder.setVideoEncoder
(MediaRecorder.VideoEncoder.H263);
                            recorder.setAudioEncoder
(MediaRecorder.AudioEncoder.AMR_NB);
                            //recorder.setOutputFile(getPath(context, path));
                            recorder.prepare();
                            recorder.start();

but when i am trying to run in eclipse,am getting following errors.
MediaRecorder.VideoSource can't be resolved.
MediaRecorder.VideoEncoder can't be resolved.

I am using android-sdk-windows-1.1_r1 as my android SDK,and didn
update this from 1.0 instead i installed it freshly.

I guess there might be some problem with the SDK.

I request you all to help me out in this regard.

Regards,
Anji


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to