Android Question Android 12-13 in sleep mode smartphone, disables microphone recording.

Lakhtin_V

Active Member
Licensed User
Longtime User
I am developing a security application that listens to surrounding sounds. I start recording sound from a microphone as a service. On older versions of Android, everything works well, even when the smartphone is sleeping. But in the new version 12-13 Android, when the smartphone falls asleep, the recording stops. How can this problem be solved?
 
Top