[android-developers] Re: Android Camera Preview Filter Using Camera.PreviewCallback.onPreviewFrame

2008-11-25 Thread dmanpearl
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

[android-developers] Re: Android, A Programmer's Guide by Jerome (J.F.) DiMarzio

2008-11-25 Thread dmanpearl
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

[android-developers] Re: Android Camera Preview Filter Using Camera.PreviewCallback.onPreviewFrame

2008-11-26 Thread dmanpearl
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.

[android-developers] Re: Android Camera Preview Filter Using Camera.PreviewCallback.onPreviewFrame

2008-12-02 Thread dmanpearl
. 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

[android-developers] Re: Camera.PreviewCallback IOException

2008-12-12 Thread dmanpearl
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

[android-developers] Re: processing camera preview before display

2008-12-17 Thread dmanpearl
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

[android-developers] Re: What's slow on Android?

2009-01-13 Thread dmanpearl
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

[android-developers] How to Display Captured Camera Frame

2008-11-22 Thread dmanpearl
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

[android-developers] Android Camera Preview Filter Using Camera.PreviewCallback.onPreviewFrame

2008-11-24 Thread dmanpearl
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

[android-developers] Re: SDK 1.6, ADT 0.9.3, Eclipse 3.4.2: Problem with Android Editors

2009-12-21 Thread dmanpearl
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

[android-developers] Re: putInt force closes

2012-03-26 Thread dmanpearl
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: