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
the api i am talking about is private to my school --- is there any method to check the changes in the label locally in background and if it changed send notifaction and after sending that notification the newset value sent with notifa=cation became old and stored in local storage---
is there any way to make that?
consider that u have alabel and its values changed with api and in every change send notification
in another words is there any way to check to the label locally in tiny db and if the valu changed send notification to the app ?--- checks for the changes (in tiny db) every 2 hours
I have a label that retrieves data from an API and stores it. I want to send a notification when the content of this label changes, because the label's content comes from the API. So, I'd like to have the API constantly fetch the data in the background, and as soon as there's a change in the API's content, the label's content would change, and a notification would be sent to the application. Is it possible to do this by storing an old label and a new label, and then sending a notification when the new label's content doesn't match the old one? Or how should it be done so that a notification is sent when the content coming from the API changes?
i have these blocks --- the degree label is from xml link and it changes depending on from xml , how to send notification in every change in label degree content
In the foreground:
Store the last degree in TinyDB
Then compare the new degree and the stored degree and in case they are different use the Melon Notification extension to send a notification
so i need to get the web data content peridically .. in anither words i need to get the data from web in background how can i do that and also which blocks will i need from all of these?
a solution using only the itoo extension, which works, biut drains the battery and requires a persistent notification, but is free, or
the professional solution, which uses the advanced alarmmanager extension without persistent notification, which is able to execute some logic in rhe background periodically as you need it, but is paid and is available for only 15 USD
with solution 1 how can i made that fetch data from web in background and if data changed send notification ???? (and i read the docs there are block that shows process is running all the time how can hide that ??? ) ( and is this block in your solution 2 ?? ) can you help me wz blocks in solution 1 plz ???in every change in web data send notification
i dont have afirebase and i dont want that .. all i want is from my web1 when its gots text it runs in background and notification sent to the app if there are any changes in data of web1 which is in my example in label 1 as shown in my blocks
theere is ablock called create process how can i hide that or how can i instread of that calling web data every hour and shoow create process every hour ???can that happened