Android: detect brightness (amount of light) in phone's surroundings using the camera?

后端 未结 5 995
小蘑菇
小蘑菇 2020-12-01 08:38

The following applies to the Android operating system.

I am trying to estimate how dark (or light) it is in the room where the phone is located using the camera.

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-01 09:04

    The big deal at wanting to nail the brightness down is to figure out how HTC is doing it in their camera.apk . Because the stock Android Camera app is horrible for overexposure especially for the DINC.

提交回复
热议问题