set flash mode camera.parameters android 1.5 -
i'm trying use camera in android app using 1.5 api. want camera flash every picture. however, when looked @ api camera.parameters, setflashmode() method supported 2.0 , higher. yet cliq xt, runs 1.5, has flash can set in menu - take mean there way 1.5 api, though unable find it.
does know how set flash mode using 1.5 api?
you can use following code set flash in older versions of api:
parameters params = camera.getparameters(); params.set("flash-mode", "on"); camera.setparameters(params);
i guessed on values send .set method, tested , turns on flash.
Comments
Post a Comment