The CropImage
activity extracted from Gallery.apk
(AOSP 4.4.4). Compatible
with Android API Level 15 and up.
This project is not maintained anymore. Starting January 2018 the source code will be replaced with a deprecation notice. This repository will be decommissioned in June 2018. Both source and binary artifact may become unavailable after that point.
The Maven repository has been moved to http://lvillani.github.io/android-cropimage/. Please see the updated documentation and the example for more details.
The old repository URL may become unavailable starting January 2018.
The project was created with Android Studio and uses the Gradle build system.
The CropImage
activity is controlled by an Intent-based API. Please use the wrapper class
CropImageIntentBuilder
for a type-safe interface.
It is contained inside the CropImageExample
module.
There's a Gradle repository available at http://lvillani.github.io/android-cropimage/.
In your top-level build.gradle
add the address of the Maven repository to the repositories
section so that it looks like:
repositories {
mavenCentral()
maven {
url 'http://lvillani.github.io/android-cropimage/'
}
}
Then add the dependency to your dependencies
section:
compile 'me.villani.lorenzo.android:android-cropimage:1.1.+'
For more information see the CropImageRepo
example (the project doesn't do anything, it only shows
how to pull the dependency through Gradle).