Back to project page android-cropimage.
The source code is released under:
Apache License
If you think the Android project android-cropimage listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.android.camera.example; //from www .j a va2s . co m import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.provider.MediaStore; public final class MediaStoreUtils { private MediaStoreUtils() { } public static Intent getPickImageIntent(final Context context) { final Intent intent = new Intent(); intent.setType("image/*"); intent.setAction(Intent.ACTION_GET_CONTENT); return Intent.createChooser(intent, "Select picture"); } }