I read that, but it seems that I would have to use the "hidden" parameter.set() methods in order to get that functionality, which is not documented by the API and therefore leaves me hesitant to write it in at the moment.
The code I am using is based on the Camera.Parameters.setPictureSize (), which appears to do absolutely nothing. At the moment, the only thing I can do is set the compression to JPG and send the full 3.1M over the wire, which is causing some issues for the server since it's attempting to do image processing on what it assumes to be much smaller images. On Nov 14, 2:30 am, blindfold <[EMAIL PROTECTED]> wrote: > Hi Alvin, > > In the discussion at > > http://groups.google.com/group/android-developers/browse_thread/threa... > > 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 -~----------~----~----~----~------~----~------~--~---