Code Monkey home page Code Monkey logo

Comments (6)

jmathai avatar jmathai commented on July 30, 2024

@gaz103 Thanks for reporting the issue. The Android app hasn't had much going on but we're going to get back to it in the coming weeks and have an officiel app released. Will track this issue here.

from mobile-android.

pboos avatar pboos commented on July 30, 2024

@gaz103 i am currently trying to reproduce this bug. But i can't get the same behavior as you describe. can you write me the exact steps that you went through to reproduce it? and can you tell me what phone and what android version you have? thank you.

from mobile-android.

jmathai avatar jmathai commented on July 30, 2024

My initial thought on this was that it had to do with the create url for the first time a photo version is generated. This is an issue if the URLs from /photos/list.json are being reused.

If this is the problem them there's two solutions.

  1. Do not cache URLs and always call /photos/list.json prior to displaying anything that will fetch image urls.
  2. Pass generate=true to the /photos/list.json API to ensure that no create URLs are returned. This will force the generation of the low res images for any that don't already exist. It's blocking so the performance hit is really big if none of the versions have been generated.

from mobile-android.

pboos avatar pboos commented on July 30, 2024

i am not sure, that that is the problem. I do not cache the urls of photos. Using pboos.openphoto.me it seems to work well. I never encountered the bug. Will have to reproduce it somehow to find out if it is solved :)

from mobile-android.

gaz103 avatar gaz103 commented on July 30, 2024

@pboos HTC Desire S, Android version 2.3.5

I open the app up on the phone and the most recent picture is loaded up (you get the loading symbol in the top right hand corner), I then select photos option and the thumbnails will then load up. If I then exit the app using the back icon the next time I enter the app and select photos the thumbnails fail to load and there is no loading symbol in the top right hand corner. If I exit the app by selecting the home icon it works fine next time you enter it. Hope that makes sense

from mobile-android.

pboos avatar pboos commented on July 30, 2024

I think I have found the error! Was some race condition which ended up in a NullPointerException. Or I hope that was the problem. Commit coming soon.

from mobile-android.

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.