Android Question Sliding panel

Discussion in 'Android Questions' started by RUNO, May 4, 2015.

  1. RUNO

    RUNO Member Licensed User

    Hi all .
    I have an idea to make a book consists of 500 photos, Can I do that without effect on memory and be fast application ?
    I want use sliding panel .
    Every image = 55 kb a proximity.
    Any other solution to do it .
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The compressed size of the image is not important. Only the actual image size (width * height). Don't try to load 500 photos at once. It will not work.

    You need to load the images when they are needed and release them when they are no longer needed.
     
  3. JoanRPM

    JoanRPM Active Member Licensed User

    You can do something similar to a "circular buffer" (serch in wikipedia), but instead of bytes you need bmp's.
    You allways have the 2 or 3 next and presious bmp's in the circular buffer. When the user switch to the next photo, you have it yet loaded. Then you have time to reload the buffer.
    I don't test in images, but I thing its a good way.

    Regards.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice