JXWD
Lurker
Hi all just wan to check I am on the right path...
I want to poll a web server every 5 minutes and create an alert depending on the outcome...
Method:
Use a background Service which is loaded on boot and has an empty screen
Use alarm manager to call the BroardcastReciever
Use OkHttp in the receiver to open webpage and see if there are any messages...
Obviously I don't want to annoy people by wasting more power than necessary.
Thanks -Hagen
I want to poll a web server every 5 minutes and create an alert depending on the outcome...
Method:
Use a background Service which is loaded on boot and has an empty screen
Use alarm manager to call the BroardcastReciever
Use OkHttp in the receiver to open webpage and see if there are any messages...
Obviously I don't want to annoy people by wasting more power than necessary.
Thanks -Hagen