To give more context, I am currently coding an application in Android Studio using Java, which is supposed to send a notification when it receives data. However, I’ve only managed to make it send a notification when the application is launched, which is not what I am trying to achieve. What I am looking for is for the app to make a request every 30 minutes to receive data, and then send a notification if the data is received. Is there a solution for this ?
I tried implementing Broadcast Receivers and Services, but I don’t see how to make them request data every 30 minutes.
LePouce is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.