A question of the API takePicture in android.hardware.Camera

by tony » Sat, 31 Jan 2009 11:21:21 GMT


Sponsored Links
 The API takePicture  is defined as:
void takePicture(Camera.ShutterCallback shutter,
Camera.PictureCallback raw, Camera.PictureCallback jpeg)

My question is:
If we pass the raw parameter when call takePicture ,what should be
returned? Will it return the raw image which has same width/height as
the captured JPEG image?

The reason I raise the question is:I heard the parameter raw can be
used to return the post-view image data.
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. About Horizontal Scrolling

I have a banner on the top and i have 36 buttons in all, of which i
want to display a set of 12 to display while scrolling horizontally.I
want the banner to be stationary while scrolling.

Please give me your expert advice after watching this demo here on
youtube on iMEvil:

http://www.youtube.com/watch?v=w30nCeSd_yc

Waiting for reply,
Maxood
--~--~---------~--~----~------------~-------~--~----~

2. ADC2 submissions and Android 1.6 (Donut)

Hi All,

Have a question about ADC2 submissions and Android 1.6 (Donut)

We rigorously tested our submission (CubeWorks, http://www.cubeworksmobile.com)
with Android 1.5 but it crashes on startup with 1.6

If the rumors are true and Donut does become available next week won't
that make judging unfair since some judges may be using 1.6

The 1.6 SDK was made available on Sept 15 and the ADC2 submissions
closed Aug 30th.

Our trouble is being caused by the android.opengl.GLU.gluUnProject()
method but I am sure there are other minor incompatibilities between
the two versions.

09-17 01:52:04.569: ERROR/AndroidRuntime(796):
java.lang.IllegalArgumentException: length - offset < n
09-17 01:52:04.569: ERROR/AndroidRuntime(796):     at
android.opengl.Matrix.multiplyMV(Native Method)
09-17 01:52:04.569: ERROR/AndroidRuntime(796):     at
android.opengl.GLU.gluUnProject(GLU.java:285)

Any insight would be greatly appreciated.

Regards,
--~--~---------~--~----~------------~-------~--~----~

3. When is "onCreateInputConnection" invoked

4. PVLOGGER_LOGMSG stop working in PVPlayerEngine::DoSetupSourceNode with new parser

5. Contact information please.

6. how to keep an application awake

7. open a custom dialog from a asnytask