Giter Site home page Giter Site logo

ygxing / imagechooser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from likebamboo/imagechooser

1.0 2.0 0.0 3.44 MB

android本地图片展示、选择 。

Home Page: http://likebamboo.github.io/android/image/2014/04/28/image_chooser/

License: Apache License 2.0

Java 100.00%

imagechooser's Introduction

关于

android本地图片展示、选择程序。界面参考微信。
在加载本地图片的速度上可媲美微信的图片选择,不会造成界面卡顿现象。
想了解本程序开发过程中的一些想法与历程,请移步这里
本程序纯粹是根据个人的一些想法做的,可能并不是最好的解决方案,如果您有更好的解决方案,希望您能分享出来,或通过issues交流。

安装

apk文件夹下附带安装包(未签名)。

编译与运行

本项目开发工具为Eclipse,同时使用maven作为构建工具,项目主目录在ImageChooser文件夹下。
如果你的 Eclipse 中装有 Maven 插件,请将本项目作为 Maven 项目导入到Eclipse中,之后可以使用Maven build 构建项目了。
如果你的 Eclipse 中没有 Maven 插件,将项目作为Android项目导入到Eclipse中后会报错,这时你需要在项目中创建一个libs的目录,然后将android-support-v4.jar 支持包, 以及下文中提到的 universal-image-loader-1.9.3.jarphotoview.jar下载拷贝到libs目录,并将这些jar加入到Build Path中,之后就可以用eclipse来编译运行项目了。
如果你使用ant来编译构建项目,你需要在ImageChooser文件夹下建立一个local.properties文件,该文件的内容为

sdk.dir=【Android SDK所在的目录】   

之后,你可以在命令行中定位到ImageChooser文件夹,执行ant debug命令来编译该项目。

预览

ImageChooser ImageChooser ImageChooser

用到的第三方库

  • UniversalImageLoader 目前最流行的图片异步加载库,配置强大,使用简单,绝对能满足你的各种需求!【本程序中查看大图的时候用到】

  • PhotoView 图片手势缩放库,很好用,也一直在用!【本程序中查看大图的时候用到】

Pull Requests

I will gladly accept pull requests for fixes and feature enhancements but please do them in the develop branch

关于我

I am here

License

Copyright 2014 likebamboo

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

imagechooser's People

Contributors

likebamboo avatar

Stargazers

 avatar

Watchers

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