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:
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:
camEx.SetExposureCompensation(2)
(I know "2" is a supported value on my phone)
However, nothing changes: picture is still as dark as before
camEx.SetParameter("setExposureCompensation", "2")
doesn't work as well.
Any idea how can I solve it?
Any help would be much much much appreciated! Thanks so much.