简体   繁体   中英

Making Images not Appear in Android Gallery

I'm working on an app where I will be taking images and displaying them in that app. However I notice that those images show up in their own category of the gallery when the gallery is opened. I'm wondering if it's possible to take photos with the existing camera and keep them hidden from the gallery. Perhaps its something I have to add to the intent.

尝试在存储图像的任何位置创建.nomedia文件,然后清除应用程序的数据以删除这些图像,以便图库不会缓存它们

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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