nbusy / nbusy-android

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

Subscribe to NetConnected event if we stop service while queue != 0 #139

Open soygul opened 7 years ago

soygul commented 7 years ago

So we can send the queued items as soon as we have net connection again.

Or just never stop the service if queue != 0.

http://stackoverflow.com/questions/18682095/android-queue-http-requests-while-network-is-unavailable-and-process-them-when-t

http://developer.android.com/training/monitoring-device-state/connectivity-monitoring.html

http://developer.android.com/training/monitoring-device-state/manifest-receivers.html