Search code examples
androidandroid-cameraflashlightandroid-screen

How to make Screen become a flashlight?


I want to do what this app - Screen Flashlight does. I want to make the screen a bright flashlight. I am thinking should I just do an ImageView that is bright white in color - what color do I use? or is there a better way to do this?


Solution

  • Just thought this idea after reading your question and I don't guarantee that it's the best way to do it.

    Try something like this:-

    1. Make an activity which uses full screen of the phone. Link to do this.

    2. Increase the brightness level of the phone to 100%. Link to do this.

    3. Use pure white color(#ffffff) as background in the parent view.