# MultipleImageSelect
**Repository Path**: mirrors_crazycodeboy/MultipleImageSelect
## Basic Information
- **Project Name**: MultipleImageSelect
- **Description**: Android library that provides for multiple image selection.
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-08
- **Last Updated**: 2026-05-16
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#MultipleImageSelect

An android library that allows selection of multiple images from gallery. It shows an initial
album (buckets) chooser and then images in selected album. Can limit the number of images that
can be selected. Can be used in apps with APK 11 onwards.
Sample app can be found [here](https://github.com/darsh2/MultipleImageSelect/tree/master/sample)
#Usage
Include this library in your project using gradle (thanks to [JitPack.io](https://github.com/jitpack-io)).
For stable build:
```gradle
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies {
compile 'com.github.darsh2:MultipleImageSelect:v0.0.4'
}
```
For using the latest build, replace the tag in dependencies above with latest commit hash. Example:
```gradle
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies {
compile 'com.github.darsh2:MultipleImageSelect:3474549'
}
```
In project's AndroidManifest.xml, add the following under application node:
```xml
```
In the activity from where you want to call image selector, create Intent as follows:
```java
Intent intent = new Intent(this, AlbumSelectActivity.class);
//set limit on number of images that can be selected, default is 10
intent.putExtra(Constants.INTENT_EXTRA_LIMIT, numberOfImagesToSelect);
startActivityForResult(intent, Constants.REQUEST_CODE);
```
and override onActivityResult as follows:
```java
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == Constants.REQUEST_CODE && resultCode == RESULT_OK && data != null) {
//The array list has the image paths of the selected images
ArrayList images = data.getParcelableArrayListExtra(Constants.INTENT_EXTRA_IMAGES);
...
}
```
#Custom Styles

1. To change the color of UI elements, in colors.xml file, override the following attributes with the desired colors. Example:
```xml
#673AB7
#512DA8
#D1C4E9
#536DFE
#212121
#727272
#B6B6B6
#FFFFFF
#99FFFFFF
#000000
```

2. To change the theme altogether, do step 1, and make the following changes in styles.xml and manifest file:
styles.xml:
Create the theme you want to use along with a theme for toolbar and actionmode. Example:
```xml
```
AndroidManifest.xml:
Add ```tools:replace="android:theme"``` to AlbumSelectActivity and ImageSelectActivity and specify theme to use. Example:
```xml
```
#Screenshots
Can be found [here](https://github.com/darsh2/MultipleImageSelect/tree/master/screenshots)
#Apps using this
[Gallery Organizer](https://play.google.com/store/apps/details?id=com.darsh.galleryorganizer2)
[PictureJam Collage Maker](https://play.google.com/store/apps/details?id=xyz.pichancer.picturejam.free)
#Similar Projects
Similar libraries can be found [here](https://android-arsenal.com/tag/157)
#Acknowledgements
This library makes use of [Glide](https://github.com/bumptech/glide) by Bump Technologies.
(Thanks to [WindSekirun](https://github.com/WindSekirun) for suggesting Glide)
#License
```license
Copyright 2015 Darshan Dorai
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.
```