Peter and Jeff,
Thanks for each of your fantastic help, I am very close to achieving a
filtered preview display as required for my project - Modification of
the Android Camera Display from onPreviewFrame.
Here is my current stumbling block:
I can't seem to make coexist: SurfaceHolder for the
Lots of Android Development book choices on Amazon:
Available now:
Professional Android Application Development by Reto Meier (Paperback
- Nov 24, 2008) $29.69
The Busy Coder's Guide to Android Development by Mark L. Murphy
(Paperback - Jun 25, 2008) $27.93
ANDROID A PROGRAMMERS GUIDE by Jerome
Hello Blindfold,
Thanks for your help. I solved the user interface problems I was
experiencing by using a separate thread to do my image processing. I'm
still using an ImageView, and without problems. Perhaps I will try a
Canvas in a SurfaceHolder later in this exercise to compare speeds.
.
On Nov 26, 6:27 pm, dmanpearl [EMAIL PROTECTED] wrote:
Hello Blindfold,
Thanks for your help. I solved the user interface problems I was
experiencing by using a separate thread to do my image processing. I'm
still using an ImageView, and without problems. Perhaps I will try a
Canvas
Pure,
Filter:
1. Your CamApp Activity must extend Surface Holder, and you shouldn't
start the camera until the surface is created.
2. G1 doesn't support 100, 100 preview. It only does 480 x 320, but
your request will not cause any problems, it will just get ignored.
When you finally do receive
Some notes on this thread and some code...
1. You need the Surface and it must be as large as the preview image,
though it doesn't have to be visible. Don't set
SURFACE_TYPE_PUSH_BUFFERS.
2. Don't try to process the preview in the preview callback. There
isn't enough time and you will crash the
If you can have just 3 things be much faster, what will they be?
I need to make a custom camera filter display based on the camera
preview run faster than I am currently able to do. We must get the
display rate up to 5 to 10+ frames per second, through the G1 can
barely display 1 fps. In
I am trying to capture a picture from the Android camera - preferrably
raw, but jpg ok - and then display it on the G1 screen. My problem is
that only black frames are displayed. The preview does work.
This code works on the emulator, but displays a black frame on the G1
device.
The emulator
Will someone please send an example of how to process the camera
preview with a filter in the camera preview callback:
Camera.PreviewCallback.onPreviewFrame.
Here is what I learned from posts on this forum:
1. Don't use SURFACE_TYPE_PUSH_BUFFERS
// Comment out PUSH_BUFFERS in order to hide
I have the same problem. Reversion to Eclipse XML Editors and Tools
v3.0.5 or v3.0.4 did not help or change the symptoms. My work-around
is to use a text editor. Any solution?
- David
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
JP,
You must use the permission request WRITE_SETTINGS, not WRITE_SETTING.
uses-permission android:name=android.permission.WRITE_SETTINGS/
- David
On Sunday, July 25, 2010 11:11:14 PM UTC-7, scadaguru wrote:
I am trying to write the system setting using:
11 matches
Mail list logo