Coder Social home page Coder Social logo

dblr4287 / android-image-cache Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mitmel/android-image-cache

0.0 2.0 0.0 1.44 MB

An image download-and-cacher that also knows how to efficiently generate and retrieve thumbnails of various sizes.

Home Page: http://mobile.mit.edu/

License: Other

Makefile 0.35% Java 99.65%

android-image-cache's Introduction

Image Cache

An image download-and-cacher that also knows how to efficiently generate and retrieve thumbnails of various sizes.

Features

  • easily integrates into content-provider backed applications, providing an adapter that can read local and web URLs from a cursor
  • automatic generation and caching of multiple sizes of images based on one downloaded asset
  • provides a disk cache as well as a memory cache
  • automatic disk cache management; no setup necessary, but parameters can be fine-tuned if desired
  • designed to work with your existing setup: no extending a custom application or activity needed
  • cursor adapter supports multiple image fields for each ImageView; skips fields that are null or empty
  • cursor adapter has an automatic progress bar when loading the cursor

Using

Please see the test/ directory for both a simple example of using it as well as some unit tests. When running the application in test/ make sure to run it as an Android activity if you want to see the demo.

Both the unit tests and the interactive test load some images from our lab's servers.

License

MEL Android Image Cache
Copyright (C) 2011-2013 MIT Mobile Experience Lab

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

android-image-cache's People

Contributors

eschlenz avatar xxv avatar

Watchers

 avatar  avatar

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.