Saving Images to Android Gallery
You are building an app with an image gallery and want users to save images to their device gallery. To achieve this, the commonly used method of File root = Environment.getExternalStorageDirectory(); is not recommended. Instead, use the following approach to save the image successfully:
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3