Answer the question
In order to leave comments, you need to log in
How to quickly solve the problem of adding the necessary information to the android notification panel?
Good day.
I have no experience in android programming.
Once I wrote a weather informer for myself that pulls information from all thermometers of public monitoring (there thermometers pour information online), I calculate the median and from it I roughly understand how many degrees are outside the window (the presence of more than 10 thermometers in the city gives relatively correct information, in contrast from sometimes strange numbers of well-known Yandex and gismeteo informers)
All the time you have to pull information from a page on the Internet that pulls data from the API.
I came up with the idea to drive all this into the phone in the form of a notification line, which all the time sticks out at the top and in the background drags information from my own site every 20 minutes.
How to do this most quickly and simply without delving into programming for android?
Thank you all!
Answer the question
In order to leave comments, you need to log in
You need to look towards services (services), in it you will receive information from the api and update the notification. In order to update the data at certain intervals, you can use either the AlarmManager or the JobScheduler ( https://developer.android.com/topic/performance/sc...
But you still have to delve a little into Android. There are excellent lessons startandroid.ru/ru/uroki/vse-uroki-spiskom.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question