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.
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.