Hey guys.
As the title says, I wanna build an app that does one simple thing: I'll give it the prayer timetable with specific times of the day, and it will play the azan audio during those exact minutes.
I've dug everywhere in the forums and tried all the following without success:
* Using services and receivers
* Using a foreground service following Erel's "Location Tracker" example and a spin-off of it designed to play music.
The receiver is far from accurate, and the foreground service works fine and accurately with the persistent notification up there, but once the user clears open/recent apps, the notification is also killed. I've tried and tried, without success.
Am I missing something here?
Thanks a lot in advance.
As the title says, I wanna build an app that does one simple thing: I'll give it the prayer timetable with specific times of the day, and it will play the azan audio during those exact minutes.
I've dug everywhere in the forums and tried all the following without success:
* Using services and receivers
* Using a foreground service following Erel's "Location Tracker" example and a spin-off of it designed to play music.
The receiver is far from accurate, and the foreground service works fine and accurately with the persistent notification up there, but once the user clears open/recent apps, the notification is also killed. I've tried and tried, without success.
Am I missing something here?
Thanks a lot in advance.