Hi All,
I am currenlt developing sample android application for Video
Recording.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,i am getting following errors.
MediaRecorder.VideoSource cannot be resolved
MediaRecorder.VideoEncoder cannot be resolved
I am using android-sdk-windows-1.1_r1 which is Installed freshly and
not the result of upgradation from 1.0.
I request you all to look in to this and help me out ..
Regards,
Anji
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---