[android-beginners] Re: Can we take pictures without setting a camera preview?

2009-09-25 Thread Romain Vallet

After some more tests, I can call the takePicture method without
firing an exception. I don't call the startPreview method before
taking the picture. All pictures taken with this method are black,
though.
Any ideas?

On 22 sep, 16:08, Romain Vallet romain.val...@gmail.com wrote:
 Hi,
 I'm writing a program that needs to take pictures with the camera, but
 I don't need a preview. Everything I tried without setting a preview
 display ended in errors of the type Unable to create media player.
 Do the camera really need a preview display or is there a way to take
 pictures without one?

 Thanks,
 Romain.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Can we take pictures without setting a camera preview?

2009-09-22 Thread Romain Vallet

Hi,
I'm writing a program that needs to take pictures with the camera, but
I don't need a preview. Everything I tried without setting a preview
display ended in errors of the type Unable to create media player.
Do the camera really need a preview display or is there a way to take
pictures without one?

Thanks,
Romain.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---