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,121
  • 5
  • 38
  • 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,095
  • 3
  • 34
  • 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,623
  • 15
  • 98
  • 151