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

2009-09-28 Thread wahib haq

Hi ROmain !! is the picture size normal ?? I am working on a simple
barcode app using emulator only :S. Well when i take picture its saved
as a thumbnail or u can say 25% of original size. I want to see
preview. If your code working well than plz share .. and tell me what
changes to make to show preview !! I'll be very thankful.

Regards,
wahib

On 9/25/09, Romain Vallet romain.val...@gmail.com wrote:

 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.
 



-- 
Wahib-ul-haq

Communications Engineering Student,
NUST, Pakistan.
www.sizzlotech.com

--~--~-~--~~~---~--~~
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] 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
-~--~~~~--~~--~--~---