Hello Dave or Blindfold,
    So I placed the following lines of code in the ApiDemo graphics-
>Camera Preview application, in the SurfaceCreated routine...

String thing = mCamera.getParameters().flatten();
System.out.println(thing);

Here is the list of parameters it returned,

picture-size
preview-frame-rate
preview-size
picture-format
preview-format

Unfortunately, there are no parameters for controlling the autofocus.
Are there any more parameters for the Camera?

Thanks for your help
-Marc

On Jan 15, 10:53 pm, Wanted unique nickname <[email protected]>
wrote:
> Thank you for the reply.
>
> So if I run getParameters on the G1 it will show me the same
> parameters as the emulator, some of which will not be supported?
>
> On Jan 15, 5:17 pm, Dave Sparks <[email protected]> wrote:
>
> > getParameters returns all the settings that are supported, and
> > possible values for some.
>
> > Be aware that many of these parameters are ignored on the G1 with the
> > current firmware.
>
> > On Jan 14, 10:33 pm, Wanted unique nickname <[email protected]>
> > wrote:
>
> > > Where do these Camera Parameters come from?  I see in the class index
> > > for Camera.Parameters that I can access different parameters through
> > > set(string, ...) but I have no idea what to place in the string
> > > argument.  Do you know of a list of all possible camera parameters or
> > > those which are supported by the G1?
>
> > > In the android source code its a little hard to track down.  I was
> > > stumped when I found native_getParameters or whatever its called.
>
> > > -Marc
>
> > > On Jan 14, 12:07 pm, blindfold <[email protected]> wrote:
>
> > > > It is not officially supported on the G1, but you might try
> > > > Camera.Parameters.set("autofocus", "false");
>
> > > > Regards
>
> > > > On Jan 14, 7:52 pm, Wanted unique nickname <[email protected]>
> > > > wrote:
>
> > > > > Hi,
> > > > >     Does anyone know how to disable autofocus from the Camera class?
> > > > > This feature is available in SnapPhoto.  I want to take two images at
> > > > > different levels of focus.  So the first picture is captured with
> > > > > AutoFocus disabled, and then on the second picture I enable autofocus
> > > > > and hope that it finds a better focus point.
>
> > > > > Please, any suggestions would help.
>
> > > > > -Marc
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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