hi,

i have an application which opens a Camera and then installs itself 
as a preview frame handler. it then logs frames to the disk, gzipping 
them on the way so as to keep the file size manageable. this 
application works like a charm under the emulator.

however on the G1, all shit breaks loose. the VM runs out of memory 
almost immediately and, after a few flailing attempts to deal with 
the situation, crashes with a SIGSEGV.

in order to take my code out of the equation, i installed the 
ApiDemos application on the G1 and messed around with its Camera 
Preview stuff. no problem there. so then i installed some 
frame-writing code in a preview handler and got the same results as 
my application. i took the gzipping out, logging the frames raw, and 
the VM survived quite a bit longer before dying.

conclusion 1: something in the hardware Camera code really doesn't 
like clients doing stuff in the preview frame handler, and 
catastrophe results.

conclusion 2: i am starting to suspect a conspiracy which is trying 
to prevent anyone capturing video on Android ;-)

i'll probably log this as a bug tonight, with accompanying crash logs etc.

thanks,
j

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to