Open guaka opened 11 years ago
roaming or online/offline toggle?
I don't think you can see from PhoneGap when phone is roaming. You can of course write simple plugin for it! Community would appreciate. I would find use for it as well. http://stackoverflow.com/questions/12595744/detecting-when-roaming-is-turned-off-in-android
Would it be possible to download all the images from mediawiki as a zip file?
Or we could at least save all the images we show to phone for offline use.
Images would be complicated as e.g. Hitchwiki is using Wikimedia Commons as well. And I personally wouldn't want the images inside an app...
for now: hide gallery
I think actually showing images is a bit too complicated for now...
Sooner or later we will need to do that. Can we at least find out whether we are online?
Roaming is not important, the user has to decide for himself, whether he wants to be online. Online/offline mode shouldn't be too hard to implement.
Can we at least find out whether we are online?
See http://docs.phonegap.com/en/2.5.0/cordova_connection_connection.md.html#Connection
Oh and when online, we should use lazyloading to show images only when users really would see them (eg. start loading image when viewport is moving towards them and near enough). This might be little bit difficult to make with mobile screens tho, even with current ready made JS solutions...
show images when online
fail gracefully when offline or on low bandwidth