PicPicker
PicPicker copied to clipboard
A simple library to pick pictures from the gallery and camera.
``` public class ProfileFragment extends Fragment implements ActivityStarter { ..... profileImagePicker = new PicPicker(getContext(), this, new PicResultListener() { @Override public void onPictureResult(Bitmap bitmap) { updateProfile(bitmap); } }); profileImagePicker.camera(); ``` I've...
I'm getting the error on camera open android.os.FileUriExposedException: file:///storage/emulated/0/Pictures/JPEG_20161020_105717_95609752.jpg exposed beyond app through ClipData.Item.getUri() Caused by: android.os.FileUriExposedException: file:///storage/emulated/0/Pictures/JPEG_20161020_105717_95609752.jpg exposed beyond app through ClipData.Item.getUri()
I have issues using this library with fragments. The result isn't returned even though the host activity has a `super.onActivityResult(requestCode, resultCode, data);` in it's onActivityResult method which is also overrode...
Create it using `Intent.EXTRA_ALLOW_MULTIPLE`. You will need to change the way used to receive the pictures from gallery, using the `intent.getClipData()`
Create static methods for compressors, so we can use it on synchronously from a background thread.
On trello badge it shows that the build is failing, but the release is passing, this is caused because you changed the master branch, try to put only releases on...
On the bitmap we can get the byteCount by calling `getByteCount`. Take a look on it and try to not compress the bitmap to check it's size.