1. Are you ready for the Galaxy S20? Here is everything we know so far!

Any way to REMOVE a folder from the Gallery??

Discussion in 'Android Devices' started by scudder, Aug 15, 2010.

  1. scudder

    scudder Android Expert
    Thread Starter


    So my gallery has the typical folders in it such as Camera shots and I am familiar with the option to turn on "Default Folders' such as My Favorites, All Photos, All Videos and All downloads. I also have a couple folders that I created and uploaded to the root directory of the SD card to be recognized and displayed by the Gallery.

    For SOME REASON I have two OTHER folders that are found in my SD card that are also ANNOYINGLY showing up in my gallery. One is called "icons" with about 91 little...you guessed it, ICONS...and is associated with the Maps and My Maps app on my SD card in the path .../sdcard/maps/mymaps/icons/...

    The other folder that showed up is "tmp" associated with the FreeTube app in the path .../sdcard/FreeTube/tmp/...

    First WHY are these folders randomly and "without my asking" showing up in my Gallery app? Secondly, PLEASE tell me there is a way to get rid of them. I'm a bit annoyed that they are listed in folders in my Gallery App but the MUCH BIGGER ANNOYANCE is their inclusion in my slideshows...I see 91 stupid little map icons in my slideshows and screensavers!!

    What's the fix??


  2. You dont need to remove the folders. Just create a file called .nomedia (be sure to include the dot) and place it in the folder you dont want to show up.
    scudder and EarlyMon like this.
  3. scudder

    scudder Android Expert
    Thread Starter

    re: the .nomedia suggestion...even if that is still an option (you said ignore)...I do NOT want to move the items from their current used locations (perhaps you realized that and said "NEVER MIND"??)

    Secondly, ALL my Default Items checkboxes are OFF including the "All Photos" :-/

    Other thoughts???
  4. Mabster

    Mabster Android Enthusiast

    The .nomedia trick will work. It makes the android system not look in that folder for anything but the apps that use them will still work properly.
    scudder likes this.
  5. EarlyMon

    EarlyMon The PearlyMon
    VIP Member

    What sitlet and Mabster are saying is correct.

    I was trying to say ignore my post - I didn't just remove it because I thought that would cause confusion (with the recent server hiccup) - but that was wrong - so it's outta here.
  6. NVM.. just re-read the post. Newb question here but does it have to be a certain file type called .nomedia or can it just be any file type with that name?

    Found it.:D
  7. InstantKarma

    InstantKarma Android Expert

    Just name it .nomedia, then set File Type as All Files.

    ETA: If you have Astro or another file explorer app, do a search for that file. Some apps automatically install it in their data. Then you can just copy it over to the folder you want.
    scudder and Jonhern like this.
  8. Thanks I'll keep that in mind. I did the copy and it worked perfectly.
  9. scudder

    scudder Android Expert
    Thread Starter

    That .nomedia suggestion was just what I needed...THANKS TO ALL!!
  10. gocoogs

    gocoogs Newbie

    What file type is sitlet suggesting we create? A .txt or .doc?
  11. Connectz

    Connectz Android Enthusiast

    I added the no media file to my icon folders and went to make a shortcut. I browsed via gallery to see if they would show up and they didn't. What happened was worse! My screen started flickering and I got the sdcard not mounted error message! I immediately deleted the no media files and so far so good.
  12. InstantKarma

    InstantKarma Android Expert

    Neither. Select All Files under Save File Type as, and do not give it an extension. The entire file name is ".nomedia".
  13. InstantKarma

    InstantKarma Android Expert

    You must've typed something on the file. It should be entirely empty and take up 0 bytes.
  14. Connectz

    Connectz Android Enthusiast

    The thing is, i'm on a Mac and I can't make a file from nothing. Is there a way to do this in OS X?
  15. gocoogs

    gocoogs Newbie

    Thanks Instant but do I create this file using the right click menu or should I open up Word?
  16. EarlyMon

    EarlyMon The PearlyMon
    VIP Member

    Update - see post 23 or 27 rather than my earlier advice, below.

    Yes - you use the unix underpinnings of OS X and you'll be ok.

    Plug your phone in and mount it as a disk drive so it shows up in the Finder.

    OS X Finder -> Applications -> Utilities -> Terminal

    This will open a window that you're going to type some simple commands into.

    Follow my instructions _exactly_.

    cd /Volumes

    ls -lFa

    (you'll now see a listing of of your iDisk (as applicable), your Mac HD, any CDs you have plugged in, etc, and - a name corresponding to _exactly_ the name you saw in the Finder for the SD card - I'm going to _pretend_ it's called sdcard, but below _replace_ "sdcard" with the ACTUAL name of your sdcard)

    (now cd to the folder(s) you want, one at a time like this and I'll use scudder's examples: )

    cd /Volumes/sdcard/maps/mymaps/icons

    touch .nomedia

    (if you want to verify that you've really created a zero-length file with this trick, get a listing of the filesets like this (notice those are both lowercase L chars there): )

    ls -lFa

    cd /Volumes/sdcard/somewhere/else/that/you/found/in/the/Finder (got the idea?)

    touch .nomedia

    The system is case sensitive - sdcard is NOT the same as SDCard.

    You can actually type the first few letters of a folder and then _hit the tab key_ and if you're on the right track, the system will automagically auto-complete the folder name for you.

    If you get stuck don't get frustrated, just describe the situation.

    And take heart - a dotted file is a unix hidden file and Android processes are unix-based.

    The above isn't a workaround - it's the canonically correct way to do this.




    Remember to eject the sd card from the Finder and wait for the notification to show SD card mounted and usb set to Charge Only before opening the Gallery again.
    Connectz likes this.
  17. Mabster

    Mabster Android Enthusiast

    I'm not a Mac user so I don't know about OS X but you can download Astro File manager and do it from there.

    ASTRO File Manager - Android app on AppBrain
  18. Mabster

    Mabster Android Enthusiast

    What ever you use to create it just make sure it doesn't have an extension. Creating it with word I think will give it an automatic .doc extention. You can always use astro like I suggested above.
  19. EarlyMon

    EarlyMon The PearlyMon
    VIP Member

    I like your idea better because it's OS independent and pure Android - good for all.

    But - I can't see how to do this in Astro - what am I missing?

    Can you actually create a .nomedia file if you can't find one to copy?

  20. gocoogs

    gocoogs Newbie

    I second this. How is it done in Astro?
  21. Connectz

    Connectz Android Enthusiast

    Earlymon, if I put
    Code (Text):
    1.  cd /Volumes/HTC EVO/Icons
    I get the error message: "-bash: cd: /volumes/htcevo1/icons: No such file or directory"

    If I put
    Code (Text):
    1.  cd /Volumes/HTCEVO/Icons
    , I get the same error message.

    When I "ls -lFa" I get this:

  22. EarlyMon

    EarlyMon The PearlyMon
    VIP Member

    You can do this with EStrongs File Explorer, free in the Market.

    Cruise to target dir, then Menu -> New -> File -> .nomedia -> Done


    Besides, I don't look at ES File and Astro as either-or - I always keep both around because you never know (just like here).

    Just 2 cents.
  23. EarlyMon

    EarlyMon The PearlyMon
    VIP Member

    Do either -

    cd /Volumes/HTC(tab)

    and you'll see it auto-completes to /Volumes/HTC\ EVO ...

    Or - try the EStrongs advice above and skip the unix pain.

    (Or equivalent Astro advice - just because I couldn't find it right off doesn't mean it's not there, too.)

    PS - Your folders look confusing enough for a unix newcomer - definitely use the EStrongs method - it'll be much cleaner.

    Also note - you'll have to goto EStrongs settings to allow it to show you hidden files, so you can have that warm confidence that you got the file right where you want it.
    Connectz likes this.
  24. Connectz

    Connectz Android Enthusiast

    Okay, I'll do the EStrongs cuz this is hurting my brain lol!

HTC EVO 4G Forum

The HTC EVO 4G release date was June 2010. Features and Specs include a 4.3" inch screen, 8MP camera, 512GB RAM, Snapdragon S1 processor, and 1500mAh battery.

June 2010
Release Date

Share This Page