Glad it was useful. In the mean-time I managed to fully decode the
live camera preview. Funny is that whereas the SDK 1.0 r1 emulator
only shows a grayscale view, the data array in onPreviewFrame() is
actually a *color* view that looks identical to what I remember seeing
in the older SDK M5 RC15 emulator, with a colored square moving around
that regularly changes color. My app now shows this in the emulator.
Too bad only that we have to do all this reverse engineering
ourselves. Indeed camera support in Android SDK 1.0 r1 is sub-
standard.

On Oct 26, 7:38 pm, Jason Proctor <[EMAIL PROTECTED]> wrote:
> thanks for the responses.
>
> i just fixed my YUV situation. the problem wasn't my code, seems like
> i had a corrupted YUV movie for some reason. worked fine on a fresh
> capture from the emulator. i had moved this functionality off the
> phone, but at least now i have the option of handling the YUV stream
> directly should the need arise.
>
> i was going to report that setPreviewSize() doesn't work on the
> emulator or the G1, but thanks to your post i will go back and retry
> using the other pixel format.
>
> i'm encountering other problems on the G1, such as the VM dying in
> Camera due to lack of memory (far below me, my footprint is
> nonexistent). but maybe your discovery will reduce the chance of that
> happening, too.
>
> i really hope that the restriction on MovieRecorder is lifted soon,
> or at least Camera gets some attention, so that video capture stops
> being the bear it currently is.

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