hegazy / android-cropimage

CropImage Activity from Gallery.apk packaged as a reusable Android library (4.0 and up).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android CropImage

License Paid Support


The CropImage activity extracted from Gallery.apk (AOSP 4.4.4). Compatible with Android API Level 15 and up.

Android Studio and Gradle

The project was created with Android Studio and uses the Gradle build system.

Intent-based API

The CropImage activity is controlled by an Intent-based API. Please use the wrapper class CropImageIntentBuilder for a type-safe interface.

Example Project

It is contained inside the CropImageExample module.

Gradle Repository

There's a Gradle repository available at http://lorenzo.villani.me/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://lorenzo.villani.me/android-cropimage/'
    }
}

Then add the dependency to your dependencies section:

compile 'me.villani.lorenzo.android:android-cropimage:1.0.2'

For more information see the CropImageRepo example (the project doesn't do anything, it only shows how to pull the dependency through Gradle).

Paid Support

I offer part-time paid support to work on extra features and services (such as publishing on Maven Central). Request a quote by shooting me an email to lorenzo@villani.me.

About

CropImage Activity from Gallery.apk packaged as a reusable Android library (4.0 and up).

License:Apache License 2.0


Languages

Language:Java 100.0%