[android-developers] Re: How to disable Auto-Focus on Camera?

2009-01-19 Thread blindfold
You will find more, including autofocus, by looking at the LogCat output window in Eclipse as a camera app starts running and changes its (preview) settings. Regards On Jan 19, 8:06 am, marc wrote: > Hello Dave or Blindfold, >     So I placed the following lines of code in the ApiDemo graphics-

[android-developers] Re: How to disable Auto-Focus on Camera?

2009-01-18 Thread marc
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 previ

[android-developers] Re: How to disable Auto-Focus on Camera?

2009-01-15 Thread Wanted unique nickname
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 wrote: > getParameters returns all the settings that are supported, and > possible values for some. > > Be aware

[android-developers] Re: How to disable Auto-Focus on Camera?

2009-01-15 Thread Dave Sparks
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 wrote: > Where do these Camera Parameters come from? I see in the class i

[android-developers] Re: How to disable Auto-Focus on Camera?

2009-01-14 Thread Wanted unique nickname
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

[android-developers] Re: How to disable Auto-Focus on Camera?

2009-01-14 Thread blindfold
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 wrote: > Hi, >     Does anyone know how to disable autofocus from the Camera class? > This feature is available in SnapPhoto.  I want to ta