Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のアプリケーションは、アプリが使用する画像でSDカードを埋めています。ギャラリーがそれらの画像をプログラムで読み取らないようにしたいのですが。それは可能ですか?
.nomediaギャラリーでスキャンしたくない空のファイルをフォルダに追加することができます。
.nomedia
Galleryがアプリのフォルダーの画像を表示しないようにする場合は.nomedia、そのフォルダーに名前の付いたファイルを配置できます。
ソース:https ://stackoverflow.com/a/6713863/450534