Dear,
Pictures took with front camera through Cameraex class are very dark. However, if I use the default Android camera or any other app which takes picture, the pictures are fine. I think it's a problem of exposure, so I tried to add this in the Cameraex class:
and I use this in my activity to set exposure:
(I know "2" is a supported value on my phone)
However, nothing changes: picture is still as dark as before
doesn't work as well.
Any idea how can I solve it?
Any help would be much much much appreciated! Thanks so much.
Pictures took with front camera through Cameraex class are very dark. However, if I use the default Android camera or any other app which takes picture, the pictures are fine. I think it's a problem of exposure, so I tried to add this in the Cameraex class:
B4X:
Public Sub SetExposureCompensation(Value1 As Int)
r.target = parameters
r.RunMethod4("setExposureCompensation", Array As Object(Value1), _
Array As String("java.lang.int"))
End Sub
and I use this in my activity to set exposure:
B4X:
camEx.SetExposureCompensation(2)
However, nothing changes: picture is still as dark as before
B4X:
camEx.SetParameter("setExposureCompensation", "2")
Any idea how can I solve it?
Any help would be much much much appreciated! Thanks so much.