mozilla / webmaker-android

Webmaker for Android
https://play.google.com/store/apps/details?id=org.mozilla.webmaker
Mozilla Public License 2.0
167 stars 113 forks source link

Add isNetworkAvailable method [mozilla/webmaker-core#433] #2427

Closed k88hudson closed 9 years ago

k88hudson commented 9 years ago

Although https://gist.github.com/thisandagain/0257dec9f36b376e36c2 would work it still relies on api.webmaker.org being up/available.

I saw this documented here: http://developer.android.com/training/monitoring-device-state/connectivity-monitoring.html#DetermineConnection, and it seems to work fine. What do you think @thisandagain?

ryanwarsaw commented 9 years ago

Looks solid, :+1:

thisandagain commented 9 years ago

Nice! This approach works too! :+1: