Android Camera Parameter - Mono Effect

Hi I am trying to capture images in black and white, while I was searching the google I notice that the android camera has a parameter like the mono effect.

I used like this:

Parameters param = camera.getParameters();

But there is a problem, this is not Black and White, there are grey tones also, I just want two colors ! The Black and the White ! Is there any way to do it? How?

Thanks alot in advance !


I have found it

Take monochrome picture (black and white) with Android

If someone has a better/faster solution please tell me :)

Thanks alot

It is called Camera.Parameters.EFFECT_MONO for "monochrome" which is the technical term for "black and white".

Need Your Help

Printing An Empty Array

java arrays

In order to test a program I wrote these statements:

Can we use Eclipse or Android Studio templates in IDEA?

android templates intellij-idea intellij-13

Since IDEA is not so developer-friendly in terms of providing Android templates like Eclipse or Android Studio do, can we take those templates and use them in IDEA?