简体   繁体   English

将图像文件从res / drawable保存到android中的Gallery App

[英]Saving an image file from res/drawable to Gallery App in android

I would like to know how to save an image from res/drawable folder into the device's gallery application, such that, image will be displayed in a customized (with a different name) location, eg pictures taken from other apps is displayed in a location in the gallery app as "Other". 我想知道如何将图像从res / drawable文件夹保存到设备的Gallery应用程序中,这样,图像将显示在自定义(名称不同)的位置,例如,从其他应用程序拍摄的照片显示在该位置在图库应用中显示为“其他”。 Thank you in advance for any idea. 预先感谢您的任何想法。

将图像存储在sdcard上,MediaScannerService将自动识别它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM