Hi Did u able to record a video in android emulator , could you please help to share the code for recording the video
I am new to android development , from the snippet here i dont know what package to import. CAn u please send the source for the video record BTW i am newbi to the android development Thanks and Regards Vish On Nov 19, 10:38 pm, Greivin Lopez <greivin.lo...@gmail.com> wrote: > I think you don't have to open and set parameters for the camera when > recordingvideo, at least it never work for me, try to remove this > code: > "camera = Camera.open(); > Camera.Parameters parameters = camera.getParameters(); > parameters.setPreviewSize(352, 288); > parameters.set("orientation", "portrait"); > camera.setParameters(parameters);" > > Also you need to be sure that you are setting the correct permissions > in the Manifest file, I suggest you these ones: > > <uses-permission android:name="android.permission.CAMERA"/> > <uses-permission > android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> > <uses-permission android:name="android.permission.RECORD_AUDIO"/> > > I see no other problems but as a matter of fact I was not able to use > the media recorder in a portrait layout... it just stay landscape. I > don't know if it was just me or what. > > I hope you could fix your problem. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en