oh, ok.
I'm now trying to edit the Camera Library a bit to make the picture in Macro and also using the Flashlight.
but I encountered an error that I cannot seem to solve:
public void FlashOn() {
Camera.Parameters params = c.getParameters();
// setting camera parameters
params.setFlashMode( Camera.Parameters.[U]FLASH_MODE_ON[/U] );
c.setParameters(params);
}
In the underlined, i get the following error:
"FLASH_MODE_ON cannot be resolved or is not a field."
I really don't know what to do with it, I searched around, but can't find it.
I'm not sure but it has to be something with import android.R; or smthing.
the only options I receive after Camera.Parameters.: are this and class
XverhelstX
note that I do import these:
import android.hardware.Camera;
import android.hardware.Camera.Parameters;