Sorry that it's really late and you might not need an answer anymore,
but I've just read this thread.
Maybe your problem is the preview format parameter. Format YUV_422_SP
is not valid in my Motorola Milestone and could be not valid in your
HTC neither. Just try with YUV_420_SP. Is it working now?
Thanks for the answer. I agree JDOM is slower and uses lot more memory
than a SAX parser, but we already have the implementation in JDOM, and
we wanted to reuse it, at least for the moment. Reuse is allways
faster and in software development you never have enough time. If we
finish the project soon
Yesterday I tried that buffered methods in a real device (HTC Desire)
and it didn't work either. Now I'm wondering if I use it the wrong
way. My code is this:
Parameters params = mCamera.getParameters();
mPixelFormat = PixelFormat.YCbCr_420_SP;
params.setPreviewFormat(mPixelFormat);
mCamera.setPar
Nobody could do it?
I'm going to do some tests changing the input xml, adding aliases for
namespaces and so on. Maybe that exception appears only in some cases
and I can make it work.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
Hi all,
I was trying to use JDOM to parse a response from my REST web service,
when it threw a StringIndexOutOfBoundsException. I dug into the code
and I found that Exception is thrown in a substring method when the
JDOM is trying to recover something like a property name. I did a
little search in
Hello all,
I was trying to use some of the new camera methods included in Froyo,
i.e. setPreviewCallbackWithBuffer() & addCallbackBuffer(). In the
documentation it's said you need first to create a buffer of
appropriated size and use the addCallbackBuffer() method. The buffer
size must be width *
Hi all,
I want to develop an augmented reality application, but I'm having
some trouble in the first steps. The first I want to do is to get a
frame with the onPreviewFrame callback, process it, and then draw it
in the screen. Here I want to hide the camera preview, I mean, I don't
want to draw it
7 matches
Mail list logo