Android: replay audio in Push-Notification

I was wondering if there is a way to play the audio file when receiving a push notification. This is a short tone of 1 second. I want to play for about 1 minute in an interval of 10 seconds . Thus, playing the file 6 times per minute. This audio file is locally stored in the APP itself.

So, is there a way that you can execute without running background services and closing the application?

+4
source share

Source: https://habr.com/ru/post/1689239/


All Articles