2

My Application is filling the SD card with Images that are used by the app. I want to prevent the gallery from reading those Images programmaticly.. Is that possible?

Naskov
  • 4,051
  • 5
  • 36
  • 62

2 Answers2

2

It's possible adding a empty .nomedia file to the folder that don't want to be scanned by the Gallery.

sabadow
  • 5,064
  • 3
  • 33
  • 51
0

If you want to prevent Gallery from showing images from your app's folder, you can put a file named .nomedia in that folder.

Source: https://stackoverflow.com/a/6713863/450534

Community
  • 1
  • 1
Siddharth Lele
  • 27,375
  • 15
  • 97
  • 147