Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gracefully handle images #19

Open
guaka opened this issue Mar 20, 2013 · 8 comments
Open

gracefully handle images #19

guaka opened this issue Mar 20, 2013 · 8 comments

Comments

@guaka
Copy link
Owner

guaka commented Mar 20, 2013

show images when online

fail gracefully when offline or on low bandwidth

@guaka
Copy link
Owner Author

guaka commented Mar 20, 2013

roaming or online/offline toggle?

@simison
Copy link
Collaborator

simison commented Mar 21, 2013

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

@simison
Copy link
Collaborator

simison commented Mar 21, 2013

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.

@guaka
Copy link
Owner Author

guaka commented Mar 21, 2013

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

@guaka
Copy link
Owner Author

guaka commented Mar 22, 2013

for now: hide gallery

I think actually showing images is a bit too complicated for now...

@guaka guaka closed this as completed Mar 22, 2013
@PhilGruber PhilGruber reopened this Mar 26, 2013
@PhilGruber
Copy link
Contributor

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.

@simison
Copy link
Collaborator

simison commented Mar 26, 2013

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

@simison
Copy link
Collaborator

simison commented Mar 26, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants