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. No measured width and height for inflated layout

override onSize(), computescroll() method, then call SetVisiblity().
Would you want to design self scrollView dialog?
Please give some code here,  it is possible to say something right.


2. writing a notification widget for Yahoo mail


I'm a new-ish Android dev. trying to write one of the following:

* a custom notification app that will create a custom icon in the
notification bar when yahoo mail is received in a certain yahoo email
account similar to the "google notifier" app


* a "yahoo mail unread count" widget similar to the "google unread
count" app which will display the number of unread yahoo emails in a
desktop widget/icon badge

I know the new Yahoo mail app is out, but I'm not sure if it's
possible to get "new mail intents" from it, or if it broadcasts any
intents or other info at all.

Does anybody have any tips on how to proceed on this?

I was thinking of perhaps trying to use the javamail open source api
to read the user's yahoo mail via javamail, and then write a
notification app or widget app.  Does that sound reasonable?

Thanks for any ideas.  :)


3. Issue with getByteArrayRegion returning LARGE byte arrays. (JNI Code)

4. How to remove data in the list view

5. Trouble with Live Wallpaper

6. Pattern 4: Action Bar

7. DVFS on the Nexus One