私は少しグーグルしましたが、その問題について不満を訴えている他の人々だけが見つかりました - 本物の解決策はありません。
I'm enjoying Bejeweled 2, but don't want the 'backdrops', 'fonts', and multiple 'images*' folders in the Gallery. They're a pain to wade through when I'm trying to see my own pics. Is there any way to remove them?
I've Googled a bit, but have only found other people complaining about the issue--no real solutions.
Yes you can! In directories that you do not want scanned by the media scanner put a blank file called
Don't forget the "."
Windows may not let you create this file because of the name.
Some file explorer apps have an option for creating this file.
The app developers should have created this file for you but some forget.
.nomedia doesn't solve the problem at all! Putting that file in folder where you store music (to get rid of all covers to be listed in gallery) also excludes all the music in the media player (PlayerPro in my case).
I would suggest using a BETTER gallery, like QuickPic, where you can set which folder to INCLUDE instead of needing to exclude folders. I Still don't get it why this option isn't available in stock gallery!
Another solution would be to use a separate app to HIDE certain folders, if your issue is that you have some 'secret' folders you don't want your friends or gf/bf to see ;) Hideit Pro is an excellent app of that kind.
If you really want .nomedia to do its job, follow these 3 stepsxe2x80x8a:
xe2x80xa2xe2x80x8a add a .nomedia to whichever folders you choose
xe2x80xa2xe2x80x8a flush your photo gallery app's cache/data using your device's app mgr
xe2x80xa2xe2x80x8a download/install a free media scanner app from the market (there are several) and invoke itxe2x80x8axe2x80xa6 this last step will rebuild the photo gallery's cache/dataxe2x80xa6 CORRECTLY this timexe2x80x8a!
Plus, you don't even need a rooted device for thisxe2x80x8a: first step you can use any file mgr, even the dinky one that comes stock with Android devices, second step you can use your device's own app mgr as stated, and third step there are media scanner apps both for and without root, diff is only in some extra options, but invoking the Android media scan service itself is just one single line of code, no root needed.
For it to work, after creating the. nomedia file, you must move the media file out, then back into the folder. I used ES file explorer to create the .nomedia file. Once you create one, just use copy/paste to spread it around.
Also in order to avoid the stress in future, it's better to place the .nomedia file in newly created folders so that all future media file that end up in it won't show up in Gallery. I found the nomedia file in Evernote folder which means they too foresaw this problem :-)
Edit: I came across another solution. After creating the ".nomedia" file, instead of manually moving the media files to and fro, you could remove and reinsert the SD card in order to force the gallery to rescan folders.
I just tested out Seth's answer and it worked fine on my HTC EVO. I created the
.nomedia file using Notepad++ and the default Notepad on Windows, so both of those should create a
.nomedia file just fine. Even though this worked for me, I still suggest you make a backup of your files before trying this (I did when I tested), since from what I read this in an unreliable method for users to apply. Again from what I read it works fine if the media files are placed in the folder after the
.nomedia file is placed in it, but if the files are there before the
.nomedia file then it may delete the files. If Seth's answer does not work for you, you may want to try creating an empty folder (with the same name as the one you want to put the
.nomedia file in), place the
.nomedia file in the folder and then add the photos (or whatever media you want), and see if that fixes the issue. I was going to try this if the first method failed, but it hasn't deleted my media yet, so we'll see what happens. If either of these methods are not helpful, there are a few apps in the market that claim to hide your media. Again, BACK UP YOUR DATA FIRST, since I did read a comment that one user's photos were deleted.
Hope this helps.
Edit: As Matt H pointed out, I should have provided links. See the comments below for relevant links.