Heey,
I'm editing the camera library a bit and added some functions already like enabling the flash light and more.
but i'm stuck with the focus modes:
When I change this to FocusModeMacro or FocusModeInfinity, It just won't change and the pictures taken are still the same quality. (like no macro shot of text)
Any help?
XverhelstX
I'm editing the camera library a bit and added some functions already like enabling the flash light and more.
but i'm stuck with the focus modes:
B4X:
/**
*Sets the focus mode to: Infinity.
*/
public void FocusModeInfinity() {
Parameters params = c.getParameters();
params.setFocusMode( Parameters.FOCUS_MODE_INFINITY );
c.setParameters(params);
}
/**
*Sets the focus mode to: Macro.
*Close-up
*/
public void FocusModeMacro() {
Parameters params = c.getParameters();
params.setFocusMode( Parameters.FOCUS_MODE_MACRO );
c.setParameters(params);
}
When I change this to FocusModeMacro or FocusModeInfinity, It just won't change and the pictures taken are still the same quality. (like no macro shot of text)
Any help?
XverhelstX