A
A
ABU SADDAM SHISHANI2019-07-08 12:28:59
Java
ABU SADDAM SHISHANI, 2019-07-08 12:28:59

How to show Notification at specific time ANDROID studio?

Hello kind people. I rummaged through almost everything, and it seems that there is an AlarmManager and a NotificationManager for this .
BUT, either my hands are NOT growing from the right place, or everything that I found is not relevant since API 29 .
The task is that at a certain point in the day, when the application is closed, a notification (with sound) is displayed. Like an alarm clock, but here the user does not have to select the time (it is always the same, which, in theory, should simplify the code).
Could you paint the teapot how it should look like. I will be very grateful!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Korobkov, 2019-07-08
@BorisKorobkov

Make your service . And already from the application running in the background, show a notification at the right time.

P
postflow, 2019-07-08
@postflow

Google workmanager

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question