DEV Community

Emre Gunaydin
Emre Gunaydin

Posted on

Taking screenshot in background from Android App (Android Studio-Java)

I’m developing a parental control app (Android 14-15, Android Studio Java) and need to take screenshots on a child’s Android smart phone(Samsung A15). However, all the common solutions I’ve found is just the MediaProjection API—have major limitations. For instance, it requires user approval every time the device reboots, and apps like YouTube can interrupt the recording process when they enter full-screen mode.
Despite this, I’ve seen some parental control apps like Ever Accountable that request permission only once(Not Screen Recording-Installed Apps, but Accessibility, Device Administrator, Usage Stats and Notifications), can take screenshots silently in the background, and are not affected by interruptions from other apps.
Can someone please recommend a proper, persistent solution for taking background screenshots without requiring repeated user interaction or being interrupted by other apps?

Top comments (0)