i have a label and that label is take its content from api ,,, all i need is at every change of label content ,, the notifcation sent to the app -----( my policy is not appear api to any service) so all i have is label take from api content
for exapmle
123456 ---at 2 pm
8427893728937 --- at 5 pm
next day
970827827 -- at 1 am
in every change the notofication sent to app how ?? ( if mobile closed the notification sent to it too )
how often do you plan to connect to that api to check for new values? for example every hour?
you could use my alarmmanager extension together with itoo, which allows you to call your api at a specific time regularly in the background, get the return value in the background and decide, if a notification should be displayed
my policy is not calling api --- i wanna call a label changes only if its value changed send notification --- and when the value changed first send notification and after that stores that value as an old value and if this second value changed send notification --- and set the last one as and old value