xHunter/android-multipicker-library


Android Multipicker Library

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.xHunter:android-multipicker-library:v0.9.10'
	}
	dependencies {
		implementation("com.github.xHunter:android-multipicker-library:v0.9.10")
	}
	<dependency>
	    <groupId>com.github.xHunter</groupId>
	    <artifactId>android-multipicker-library</artifactId>
	    <version>v0.9.10</version>
	</dependency>

                            
    libraryDependencies += "com.github.xHunter" % "android-multipicker-library" % "v0.9.10"
        
        

                            
    :dependencies [[com.github.xHunter/android-multipicker-library "v0.9.10"]]
        
        

Readme


Android Multipicker Library (Images, Videos, Files, Audios, Contacts)


Makes it easy and simple to integrate "Attach that file" feature into your android apps.

Don't worry about various devices/OS variations.

Don't worry about out-of-memory errors.

Don't worry about creating thumbnails to show a preview.

Picking up any file for your app, and it's details.

Picking up audio files.

Code less for capturing images/videos/files
  • Choose images from device or take a photo
  • Choose videos from device or record one
  • Choose files available on your device
  • Choose audio files available on your device
  • Choose a contact from the phonebook
  • Works with almost all content providers
  • Get all metadata about the media that you would probably need
  • Similar code base to implement irrespective of Android version of device.
Gradle
compile 'com.kbeanie:multipicker:0.9.9@aar'
Maven
<dependency>
    <groupId>com.kbeanie</groupId>
    <artifactId>multipicker</artifactId>
    <version>0.9.9</version>
</dependency>

See Wiki Pages for code snippets.

Try out the sample app if you want to test it out first.

<a href="https://play.google.com/store/apps/details?id=com.kbeanie.multipicker.sample&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1"> <img alt="Get it on Google Play" src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" width="150px"/> </a>
Recent changes
Version 0.9.9
  • Problem with file names with '+' Issue #13
Version 0.9.8
  • Minimum SDK - 10 (Issue #9)
  • Duplicate images #10
  • Check permissions in manifest (Not Runtime permissions)
  • Feature: Specify max image dimensions
Version 0.9.7
  • App Bugs
  • Use different filename if it already exists (Issue #6)
  • Picassa Gallery on Samsung phones (Issue #7)
Version 0.9.6
  • Added request ID to ChosenFile to provide a way to differentiate between callbacks.
  • Use app name when using CacheLocation.EXTERNAL_STORAGE_PUBLIC_DIR
License

Copyright 2016 Kumar Bibek

Licensed under the Apache License, Version 2.0 (the "License");<br /> you may not use this file except in compliance with the License.<br /> 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<br /> distributed under the License is distributed on an "AS IS" BASIS,<br /> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br /> See the License for the specific language governing permissions and<br /> limitations under the License.