Wanting to exclude the Download from being scanned by the Gallery application, i do as required, and create a:
.nomedia
file in the Download folder. That correctly causes the Download folder to vanish from Gallery. And all is well.
But then
If i Save an image from Chrome, the Download folder reappears in Gallery. This coincides with Chrome adding a special file to the Download folder:
ic.bin

Deleting the ic.bin file does not cause the folder to disappear from Gallery. Deleting, and re-adding the .nomedia file to the Download folder does cause the Download folder to vanish from Gallery.
i could ask this a number of alternate ways:
- how do i really prevent a folder from being scanned by Gallery?
- how do i deny file creation permission of a file called
ic.binin theDownloadfolder? - how do i deny file creation permission of a file called
ic.binin any folder? - how do i stop Chrome from creating an
ic.binfile in the Download folder? - how do i stop the
Downloadfolder from reappearing in Gallery? - how do i prevent Chrome from causing the
Downloadfolder from reappearing in the Gallery?
What i'm really asking is, "How do i exclude a folder from the Gallery?", given that .nomedia doesn't always work.
Nexus 4
Android version: 4.2.1
ic.bin(making it read-only) plus the empty.nomedia(in this order). It's a wild guess, but maybe the contents ofic.binare a key to it. Thus having created a read-onlyic.binshould prevent Chrome from placing its own copy. No guarantees, as said -- just a wild guess, but worth a try. – Izzy Dec 4 '12 at 23:10Read only; the MPC interface in Windows doesn't allow doing that. The other issue i discovered is that it's not just a problem with Chrome's download folder. Another app, that saves images into its own private folder with a.nomediafile, also appear in the Gallery once you save a file there. – Ian Boyd Dec 17 '12 at 19:27ic.binis a red herring. It seems that.nomediais only honored if it is the last file written to the folder. Edit: which might provide a solution. If it is date based, then perhaps Android has a way to alter the date of a file toDecember 25th, 3091– Ian Boyd Dec 18 '12 at 0:30