I recently found the following in an old post on Stack Overflow,
regarding how to get the camera parameters for which there are no
SDK methods (in this case, nv-picture-iso-values):
(Note that this is slightly edited---not the code---for brevity.)
--------------------------- CUT HERE ---------------------------
So basically there is a key called iso-values to retrieve the
supported values and a key iso which holds the current value.
Camera cam = Camera.open();
Camera.Parameters camParams = cam.getParameters()
// get supported values (comma separated string)
String supportedIsoValues = camParams.get("iso-values");
String camParams.set("iso", (String)newValue);
cam.setParameters(camParams);
--------------------------- CUT HERE ---------------------------
I tried this, and the result returned is null (and then I noticed
that someone else had responded to the post saying the same thing
for their device). So clearly, the above is either incorrect, not
supported on all devices, or is incomplete.
Does anyone have any information on the right (i.e., supported)
way to set these "extra" camera parameters, such as (these are from
my Acer Iconia A500 tablet):
nv-picture-iso-values: auto,100,200,400,800
nv-contrast-values: lowest,low,normal,high,highest
nv-burst-picture-count-values: 0,1,3,6,9
Seems to me, if the options to set those are there, there should be
a way to set them. Does anyone know?
Thanks,
--jim
--
THE SCORE: ME: 2 CANCER: 0
73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 >
[email protected] ICBM/Hurricane: 30.44406N 86.59909W
Do not look into laser with remaining eye.
Android Apps Listing at http://www.jstrack.org/barcodes.html
--
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