2

In Android, if an app wants to run in the background, it usually needs to create a service that runs in the background (and/or after boot is completed). So, if the app wants to listen to the microphone all the time, it needs to run such a service from my understanding, and in the modern Android version, they are forced to create a notification and it needs to clearly specify what it does in the notification or it will violate Play Stalkerware Policy which Google Assistant does not show it.

How can this be allowed? Also, how can an app implement a microphone listener if Google Assistant is already running?

2
  • 1
    Running a foreground service is a requirement for third party user apps. Google apps are the privileged ones. They have exceptional capabilities. // A shameless self promotion: you can use the Pro version of my app WhatsRunning to conveniently view a long list of always-running apps and services in background. Google services are usually the highest in count. Jun 26, 2022 at 10:18
  • Thank you @IrfanLatif, it looks very useful, and in my case, I wanted to add a voice commands functionality to my app that user can do some actions with their voice but it will need to listen to the mic all the time and this is not something comfortable by most of users
    – Jagar
    Jun 26, 2022 at 10:25

0

You must log in to answer this question.

Browse other questions tagged .