Giter Club home page Giter Club logo

android-ultra-photo-selector's Introduction

Android Ultra Photo Selector Android Arsenal

Select images from Android devices made easy :-) In preview you can also Zoom images. You can select images from different albums. I am using UIL, so you can configure image caching your own way, if you want to change. on your mobil phone. Selection image result is also preserved. See AndroidManifest.xml for more details.

	Intent intent = new Intent(context, activity);
	intent.putExtra(PhotoSelectorActivity.KEY_MAX, maxImage);
	intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
	context.startActivityForResult(intent, requestCode);
	
	@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
	if (resultCode != RESULT_OK)
		return;
	if (requestCode == SELECT_IMAGE_CODE) {// selected image
		if (data != null && data.getExtras() != null) {
			@SuppressWarnings("unchecked")
			List<PhotoModel> photos = (List<PhotoModel>) data.getExtras().getSerializable("photos");
			if (photos == null || photos.isEmpty()) {
				UIHelper.ToastMessage(this, R.string.no_photo_selected);
			} else {
				Intent intent = new Intent(this, YourOwnLogic.class);
				Bundle b = new Bundle();
				b.putSerializable("album_pojo", albumPojo);
				b.putSerializable("photos", (Serializable) photos);
				intent.putExtras(b);
				startActivity(intent);
				finish();
			}
		}
	}
  • Select Images from Album

Select Images

  • Browsing all device folders that have images

Browse Albums

  • Preview & zoom selected images

Preview selected Images

android-ultra-photo-selector's People

Contributors

aizazzaidee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-ultra-photo-selector's Issues

Usage

Please
if you could also provide small snippets on how to use this library it would be so nice.

Use camera and take photo?

Except the features already have, I updated and fixed the camera point. May I commit these source code?

Memory cache required

When I scroll the GridView from top to bottom,those loaded images should be loaded from cache not be reloaded.

Code License

I would like to use this library in a project, but I don't know what license this is distributed under (MIT, Apache2, etc). Can you update the readme to indicate the license?

Use this library java.lang.SecurityException

java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=13665, uid=12177 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
in some phones.

没用缩略图

直接显示的原图,图片列表不是查询出来的缩略图显示的,实在太卡了点

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.