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.jaycee88:image-chooser-library:1.6.0'
}
dependencies {
implementation("com.github.jaycee88:image-chooser-library:1.6.0")
}
<dependency>
<groupId>com.github.jaycee88</groupId>
<artifactId>image-chooser-library</artifactId>
<version>1.6.0</version>
</dependency>
libraryDependencies += "com.github.jaycee88" % "image-chooser-library" % "1.6.0"
:dependencies [[com.github.jaycee88/image-chooser-library "1.6.0"]]
Sorry, I will not be making any updates to this library. Will strongly recommend to switch to the option below. The library below still has all the same features. You might have to spend 2-3 hours for the migration, but I think it will be worth. Sorry again.
A completely re-designed library is in the works. Check it out here
Makes it easy and simple to integrate "Attach that photo/video" feature into your android apps.
<a href="https://play.google.com/store/apps/details?id=com.beanie.imagechooserapp&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="200px"/> </a>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.
compile 'com.kbeanie:image-chooser-library:1.5.8@aar'
App | Link to Play Store |App | Link to Play Store --------------------| -----------------------| ------------------| -------------------- <a href="https://play.google.com/store/apps/details?id=com.beanie.imagechooserapp&hl=en&referrer=utm_source%3Dicl_github"><img src="https://lh6.ggpht.com/5HmHU2cE12jLB1NSX9blKNVa_dj_ymh_FIzajC6joVd4jYBopGQFj5ZFHr9FboHFyQ=w300-rw" width="48" height="48"/></a>|<a href="https://play.google.com/store/apps/details?id=com.beanie.imagechooserapp&hl=en&referrer=utm_source%3Dicl_github">Image Chooser App</a>|<a href="https://play.google.com/store/apps/details?id=com.beanie.blog&hl=en&referrer=utm_source%3Dicl_github"><img src="https://lh6.ggpht.com/PT80sExPDHg0_Y75qGYsrSqzpyEU9v9UDS-bKBKlorqjz1LQ4FAOiRL2tHX3IljbcDU=w300-rw" width="48" height="48"/></a>|<a href="https://play.google.com/store/apps/details?id=com.beanie.blog&hl=en&referrer=utm_source%3Dicl_github">Blogaway</a> <a href="https://play.google.com/store/apps/details?id=org.kazin.timelike&hl=en&referrer=utm_source%3Dicl_github"><img src="https://lh3.googleusercontent.com/ZlKEoMiDXRoN4M-8IuS4jdJoBsf2yg1FOuojHui9VB4IhDr52REEI8NaA5piWujt25I=w300-rw" width="48" height="48"/></a>|<a href="https://play.google.com/store/apps/details?id=org.kazin.timelike&hl=en&referrer=utm_source%3Dicl_github">Timelike</a>
If you would like to add your app to this list, drop me an email.
Copyright 2013 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.