Code Monkey home page Code Monkey logo

Comments (6)

murraycu avatar murraycu commented on September 22, 2024

Thanks. I need a few clues, please:

When it can't download a galaxy it should at least show an error message. Does it?

Does it continue to show the "Loading..." message and circle?

Does it help to close the app and reopen it? For instance, by swiping it away in the list of running apps.

And can I have the app's version number, please? It's in the About box, which can be opened from the menu.

from android-galaxyzoo.

murraycu avatar murraycu commented on September 22, 2024

This is what happens (or is meant to happen) in these cases at the moment:

  1. There's no network connection at all:
    The user sees a "No network connection" message for a short time.
    Re-opening the app, for instance by going to home and then opening the app again, will make it try again.
  2. There's only a mobile/cellular connection but the app's setting has "wifi-only" selected:
    The user sees a "No Wi-Fi network connection" message for a short time.
    Re-opening the app, for instance by going to home and then opening the app again, will make it try again. Also, changing the setting will make it try again.
  3. There's a suitable network connection but it's not working for some reason, such as a problem with the local network or a problem with the zooniverse server:
    The users sees an alert dialog saying "Cannot download new subjects to classify." with Cancel and Retry buttons. If you press Cancel then re-opening the app will make it try again.

from android-galaxyzoo.

murraycu avatar murraycu commented on September 22, 2024

Any chance of that user talking to me here?

from android-galaxyzoo.

murraycu avatar murraycu commented on September 22, 2024

I've seen this a couple of times after testing the app immediately after updating beta releases from the play store, though that's generally when I test it. It seems to be trying a cached subject, abandoning it, then trying the next, and not trying to download another when it has tried (and failed to load) them all. This abandoning-an-item behaviour is there to deal with cached subjects whose images have not been completely downloaded. Strangely, it seems to even lose its cached subjects that have already been classified and uploaded, suggesting a general problem with the sqlite database.

Restarting the app seems to fix the problem.

I've added some log output to the app and I've installed a log viewing app so I can investigate it more next time I see it.

from android-galaxyzoo.

murraycu avatar murraycu commented on September 22, 2024

I managed to reproduce this reliably by deleting the app's cache and then going back to the app and trying to load another image - for instance, by clicking Invert or by finishing the classification.

So I think this was triggered by the Android system automatically deleting the app's cache to temporarily save space - Maybe that happens sometimes when installing app updates.

I'm confident that it's fixed now, but I will play with it a bit more here before releasing a new version.

from android-galaxyzoo.

murraycu avatar murraycu commented on September 22, 2024

I've just released version 1.38 with these fixes. Please let me know if the problem still happens.

from android-galaxyzoo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.