kiran boghra kiran boghra - 1 year ago 143
Android Question

front camera take very dark capture in android

I am taking photo capture using front camera using my custom camera app not using system camera app.But the captured photo is very dark so can see photo properly.

my code

mCamera =;
Camera.Parameters params =mCamera.getParameters();

And to take picture

if (mCamera != null) {
try {
mCamera.takePicture(null, mPictureCallback,
} catch (IOException e) {

Thanks in advance. Please give me suggestions. any help will be appreciated.

Answer Source

I have found following solution for this, And that worked for me

Wait for some time i.e. 500 ms before capture image using

mCamera.takePicture(null, mPictureCallback,mPictureCallback);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download