Moustafa Elsaghier Moustafa Elsaghier - 1 month ago 10
Android Question

Local Notification at specified Time android

In case of my application, i need to make notification be pushed locally at time 6.00Am

when I googled how to make something like that I found this it helped me to
do local notification but I need it be pushed even if the application in background

I tried out to make service and call setAlarm() method in it but I didn't know exactly how I do something like that here is my code i use:-

I used this sample of code in my service class

I used this  sample of code in service class

This is my BroadcastReciver code

Alarm Reciver

all i need to know how to setup permently service that push daily notifocation

Answer Source

I do not know more about your code but i think you want to get daily notification based on my suggestion is that this example will help you