# PhotoPicker **Repository Path**: androidfm/PhotoPicker ## Basic Information - **Project Name**: PhotoPicker - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-09-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PhotoPicker [](https://travis-ci.org/donglua/PhotoPicker) [](https://android-arsenal.com/details/1/2091) [  ](https://bintray.com/donglua/maven/PhotoPicker/_latestVersion) [](https://android-arsenal.com/api?level=10) --- # Example    
--- # Usage ### Gradle ```groovy dependencies { compile 'me.iwf.photopicker:PhotoPicker:0.2.7@aar' compile 'com.android.support:appcompat-v7:22.2.0' compile 'com.android.support:recyclerview-v7:22.2.0' compile 'com.nineoldandroids:library:2.4.0' compile 'com.android.support:design:22.2.0' compile 'com.github.bumptech.glide:glide:3.6.0' } ``` ### eclipse [ ### Pick Photo ```java PhotoPickerIntent intent = new PhotoPickerIntent(MainActivity.this); intent.setPhotoCount(9); intent.setShowCamera(true); intent.setShowGif(true); startActivityForResult(intent, REQUEST_CODE); ``` ### Preview Photo ```java Intent intent = new Intent(mContext, PhotoPagerActivity.class); intent.putExtra(PhotoPagerActivity.EXTRA_CURRENT_ITEM, position); intent.putExtra(PhotoPagerActivity.EXTRA_PHOTOS, photoPaths); startActivityForResult(intent, REQUEST_CODE); ``` ### onActivityResult ```java @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (resultCode == RESULT_OK && requestCode == REQUEST_CODE) { if (data != null) { ArrayList