ImagePicker icon indicating copy to clipboard operation
ImagePicker copied to clipboard

Android library to easily pick an image from gallery or camera app. The users can select their prefered gallery/camera app on a unique Intent. Initial gist:

Results 21 ImagePicker issues
Sort by recently updated
recently updated
newest added

E/UncaughtException: java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority com.mvc.imagepicker.provider

When I click on camera button in dialogbox, app get crash. It shows an error in Logcat. W/Intent: Failure when grantUriPermission java.lang.SecurityException: UID 10246 does not have permission to content://com.mvc.imagepicker.provider/external_files/Android/data/com.oranjeclick.trendingapp/cache/i_prefix_1...

For custom authorities, different from com.mvc.imagepicker.provider ImagePicker.pickImage(fragment, title) method crashes with this error: 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference Authority is hard coded inside ImagePicker.class "com.mvc.imagepicker.provider", row 118

Fixes issue#52: "App crashing when changing image_picker_file_provider_auth". In ImagePicker.java class "authority" parameter was referencing to BuildConfig.APPLICATION_ID of sample application. This way the library is dependent from sample application and probably...

For some types of camera, for example using a Xiaomi A2, image comes with a wrong rotation from the method "getImageFromResult"

The ImageRotater.java class needed to initialize the ExifInterface with a stream to avoid FileNotFoundException for Android N and up. Fixes and closes #51

I am trying to run this code ``` ImagePicker.pickImage(RegisterActivity.this); ``` But the app crashes with this error ``` Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object...

The authorities will be not match since application id will match the project package not com.mvc.imagepicker

I have follow you guide and install ImagePicker on my project and compile successfully. But it have NPE below. > java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on...

If I take a pic from camera, and after this, I try to take a pic from gallery, the app crashes, and send me this error in log: > **java.lang.NullPointerException:...