whwayne / andar

Automatically exported from code.google.com/p/andar
0 stars 0 forks source link

svn r122 build doesn't run on N1 #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. check out svn revision 122
2. build
3. run

What is the expected output? What do you see instead?
I was hoping this would be the same level of code from the fix on Friday
for the white/black screen problems. With this level of code launching it
from Eclipse doesn't work. When i launch it from the device itself, i get a
black screen. 
I do see one exception:
05-03 11:50:44.400 E/AndAR EXCEPTION(  438): the camera uses an unkown
pixel format.

What version of the product are you using? On what operating system?
svn from rev 122 compiled on SDK 2.1 on N1

Please provide any additional information below.
attaching logcat.

Original issue reported on code.google.com by suzy...@gmail.com on 3 May 2010 at 4:56

Attachments:

GoogleCodeExporter commented 8 years ago
ok, I think i found the issue. in 
CameraPreviewHandler.getBestSupportedFormat(), when
it finds the optimal format, it is returning -1 instead of the actual format. 
-1 is
picked up as an error, and exception is thrown. 

I return the format, and it works like the sample from last week you had me 
test.

Original comment by suzy...@gmail.com on 3 May 2010 at 5:19

GoogleCodeExporter commented 8 years ago
ah ok, damn it! This is because I wanted to test error handling. Thank you!
I can't correct it right now, as my computer doesn't want to boot, because of 
all the
exams I will not fix it before this weekend, though.

Original comment by tdomhan on 3 May 2010 at 7:41

GoogleCodeExporter commented 8 years ago

Original comment by tdomhan on 9 May 2010 at 7:45