GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ValuesFeng/AndroidPicturePicker: android powerful picture picker

BranchesTags
Open more actions menu

Latest commit

 

History

47 Commits
47 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
gallery
gallery
 
 
gradle/wrapper
gradle/wrapper
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

AndroidPicturePicker

##Thanks for :
Laevatein:Photo image selection activity set library. Currently under development.
Picasso:A powerful image downloading and caching library for Android
Glide:An image loading and caching library for Android focused on smooth scrolling
Android-Universal-Image-Loader:Powerful and flexible library for loading, caching and displaying images on Android.

##Screen Shot gallery gallery2

Usage

Call photo image selection activity by the following code snipet.

public void onClickButton(View view) {
        Picker.from(this)
                .count(3)
                .enableCamera(true)
                .setEngine(new GlideEngine())
                .forResult(REQUEST_CODE_CHOOSE);
    }

You can use different Image Loader, Picker provide 3 default Loader Engine:
1.GlideEngine
2.PicassoEngine
3.ImageLoaderEngine

or you can use custom engine , just like

      public static class CustomEngine implements LoadEngine {
  
     @Override
       public void displayImage(String path, ImageView imageView) {
        Log.i("picture", path);
        }
   
        @Override
        public void displayCameraItem(ImageView imageView) {

        }

        @Override
        public void scrolling(GridView view) {

        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
        }

        public CustomEngine() {

        }

        protected CustomEngine(Parcel in) {
        }

        public static final Creator<CustomEngine> CREATOR = new Creator<CustomEngine>() {
            public CustomEngine createFromParcel(Parcel source) {
                return new CustomEngine(source);
            }

            public CustomEngine[] newArray(int size) {
                return new CustomEngine[size];
            }
        };
    }
    
    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        if (requestCode == REQUEST_CODE_CHOOSE && resultCode == RESULT_OK) {
            mSelected = PicturePickerUtils.obtainResult(data);
            for (Uri u : mSelected) {
                Log.i("picture", u.getPath());
            }
        }
    }

Please note that LoadEngine is extends Parcelable.

##Download Gradle

   repositories {
    	maven { url "https://jitpack.io" }
   }  
  
  
  dependencies {
		compile 'com.github.valuesfeng:androidpicturepicker:1.0.0'
	}  

##wait achieve

  1. Iamge quality (quality);
  2. Select Type (MimeType);

help me……
##License

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.

About

android powerful picture picker

Resources

Readme
Activity

Stars

418 stars

Watchers

11 watching

Forks

73 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.