Hi Alvin,

In the discussion at

http://groups.google.com/group/android-developers/browse_thread/thread/6e070855723aede0/

jrpowers mentioned

> You can grab a 480x320 picture, but it still takes a while to
> come back after you call takePicture.

Take care though about possible consequences of asynchronous
processing, although without seeing your code I do not see an
immediate reason for trouble since in your case there is already an
implicit wait for the picture-taking callback, unless of course there
exist two asynchronous processes running more or less independently,
causing race conditions. Still, you could run some experiments to
check and ensure that your non-3.1M size settings have really taken
effect once your myCallback() is entered, in part also to try and find
workarounds for some of the current bugs. This is how I finally got my
camera preview code working properly on the G1.

Regards


On Nov 6, 4:55 pm, Alvin Yates <[EMAIL PROTECTED]> wrote:
> I'm taking pictures with the Camera using takePicture(null, null,
> myCallback), but taking pictures on the G1 gives me full 3.1M images
> every single time.  I set the appropriate camera parameters in my
> onSurfaceChanged() method that is in the Activity, which I know is
> calling it as expected, but it seems to have no effect.
>
> Is there a way to have the camera produce natively small images?  Do
> they have to be a specific size?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to