我使用以下代码在相册中插入图像,但是插入图像时也会创建图像的缩略图,如何阻止缩略图的创建呢?
我在相册中加入图像,当我从相册中选择图像时,返回的是缩略图的路径,这个不是我所要的结果。
插入图像的相关代码:
scr The content resolver to use
source The stream to use for the image
title The name of the image
description The description of the image
MediaStore.Images.Media.insertImage(contentResolver ,file.getAbsolutePath(),
file.getName(), );