Skip to content

Instantly share code, notes, and snippets.

@aemxn
aemxn / ImageInputHelper.java
Created Jul 4, 2016 — forked from eluleci/ImageInputHelper.java
Android: Helper for Android for selecting image from gallery, taking a photo with camera and cropping image.
View ImageInputHelper.java
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Environment;
import android.provider.MediaStore;
import android.support.v4.app.Fragment;
import android.util.Log;
import java.io.File;
import java.io.IOException;