Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Camera Preview Not Clear

Camera Preview Not Clear

All your problems with Audio, Video and Images.

Camera Preview Not Clear

Postby vipulshah2010 » Thu Mar 04, 2010 3:53 pm

I m devolping a Camera application.
when i run it on HTC Droid Eris it runs smoothly
but the problem is that.
while taking picture the picture is not clear,in preview i cant see anything.
the horizontal lines comes.
but after taking photo i get clear photo.
why is the preview is unclear.
plz help me
thnx in adavnced.
vipulshah2010
Junior Developer
Junior Developer
 
Posts: 14
Joined: Tue Feb 09, 2010 7:50 am
Location: India

Top

Postby eyurdakul » Thu Mar 04, 2010 5:01 pm

once you get the parameters of the camera, set the preview format as you wish:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. Parameters params = camera.getParameters();
  3.  
  4. params.setPreviewFormat(PixelFormat.JPEG);
  5.  
  6.  
Parsed in 0.013 seconds, using GeSHi 1.0.8.4


this works for android 1.5, i don't know how it is in android 2.0 but it can't differ too much.
eyurdakul
Junior Developer
Junior Developer
 
Posts: 13
Joined: Thu Mar 04, 2010 1:19 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 9 guests