Android Camera Shutter Counter

I wonder if there is a way to determine the camera shutter counter on an Android device. I want to know how often the camera is used and how often the flash is used. Is there any API or system file that I can use?

So far I have checked the camera class .

Thanks in advance.

David

+6
source share
1 answer

There is no built-in counter. You can add it to your own ROM.

Note that the camera can be used to take still images or to record video or to display a camera preview, for example. for some kind of augmented reality game. The game can save preview frames in some format or not. In addition, advanced cameras can provide high-quality previews of 1080p.

When you plan to add a counter, consider whether you want to count the number of times the camera was opened, or the length of the camera in preview mode, or the number of processed preview frames.

+1
source

All Articles