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. Make a call by sending/receiving the audio to/from a network stream

Hi all,

I'm doing a feasibility study for developing an Android application
capable of doing the following:

1. Make or receive 3G phone calls (but it can also use the native
dialer)
2. Forward the incoming audio data to a network stream via wifi
3. Acquire the outgoing audio data from a wifi network stream and send
it into the mic input
4. Be as fast as possible in doing the audio forwarding, in order to
minimize the call delay.

I've done some hypothesis on how to deal with the incoming audio, but
I have no idea on how I can send the outgoing data (the voice uplink)
into the mic input of the audio mixer.

For the incoming audio I was thinking I could record the voice
downlink and save the recorded AMR data to a network socket, but I
don't know how efficient this could be since it depends on how the
platform will handle the data buffering, btw in this case I think I
can still use the native dialer.

Does anyone have suggestions on this topic?

Thanks in advance.
Pizza67

-- 

2. VideoView setVideoURI to video contained in applications assets Folder

Hi all,

is it possible to set the video URI of a VideoView to a video in the
applications assets folder? I just can't figure it out. Using a video
in the res/raw Folder works, using:

Uri.parse( "android.resource://" + getPackageName() + "/raw/video" );

But I don't want to clutter the R class with the ids (there are quite
a few videos).

thanks in advance.

-Robert

-- 

3. Http Access Control Support in 1.6

4. Intercept incoming and outgoing Phone Call and text messages

5. ANNOUNCE: RoboGuice 1.1 now available

6. Podcast client

7. Handling force close [Exception] to stop my native application.