Skip to content Skip to sidebar Skip to footer

Is There A Way To Get Around Size Limit For "Upload To Photos"

I'm using this code to share a collection of images: final ArrayList imageUris = new ArrayList<>(); for (final ImageBean selectedImage : ImageBean.getSelectedImage

Solution 1:

It turns out that Google Photos doesn't play well with the FileProvider. The upload works when using the public content URI, to be found using something like

int mediaId = cursor.getInt(getColumnIndexForMediaID());
Uri publicUri = Uri.withAppendedPath(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, Integer.toString(mediaId));

Now I'm back at Can't edit image in Google Photos after "Upload to Photos" activity


Post a Comment for "Is There A Way To Get Around Size Limit For "Upload To Photos""