nbusy / nbusy-android

NBusy Android app.
http://nbusy.com
Apache License 2.0
1 stars 0 forks source link

Send queued messages on device boot #11

Closed soygul closed 8 years ago

soygul commented 8 years ago

http://stackoverflow.com/questions/6391902/how-to-start-an-application-on-startup

On startup, we can check if there are any queued tasks and internet connection to start processing messages. If there is no connection, we can register a connection_available listener and wait for connection and de-register it after successfully going over the queue.