1. Check out our companion app, Forums for Android! Download from Google Play

Support Any way to REMOVE a folder from the Gallery??

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

  1. scudder

    scudder Well-Known Member
    Thread Starter
    163

    May 21, 2010
    1,281
    364
    163
    Male
    Ex-attorney ("retired" at 27)...
    State of Confusion (FL too)
    Hello...

    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??

    THANKS!!
     

    Advertisement

  2. sitlet

    213

    Apr 11, 2010
    5,867
    633
    213
    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. EarlyMon

    EarlyMon The PearlyMon
    5,218

    Jun 10, 2010
    57,631
    70,397
    5,218
    New Mexico, USA
  4. scudder

    scudder Well-Known Member
    Thread Starter
    163

    May 21, 2010
    1,281
    364
    163
    Male
    Ex-attorney ("retired" at 27)...
    State of Confusion (FL too)
    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???
     
  5. Mabster

    Mabster Well-Known Member
    68

    May 26, 2010
    467
    127
    68
    Bay Area, CA
    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.
  6. EarlyMon

    EarlyMon The PearlyMon
    5,218

    Jun 10, 2010
    57,631
    70,397
    5,218
    New Mexico, USA
    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.
     
  7. keyholeSecrets

    keyholeSecrets Well-Known Member
    18

    May 12, 2010
    54
    19
    18
    San Jose, CA
    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
     
  8. InstantKarma

    InstantKarma Well-Known Member
    103

    Dec 16, 2009
    998
    153
    103
    Male
    Houston, Tejas
    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.
  9. keyholeSecrets

    keyholeSecrets Well-Known Member
    18

    May 12, 2010
    54
    19
    18
    San Jose, CA
    Thanks I'll keep that in mind. I did the copy and it worked perfectly.
     
  10. scudder

    scudder Well-Known Member
    Thread Starter
    163

    May 21, 2010
    1,281
    364
    163
    Male
    Ex-attorney ("retired" at 27)...
    State of Confusion (FL too)
    That .nomedia suggestion was just what I needed...THANKS TO ALL!!
     
  11. gocoogs

    gocoogs Member
    16

    Nov 4, 2009
    18
    2
    16
    What file type is sitlet suggesting we create? A .txt or .doc?
     
  12. Connectz

    Connectz Well-Known Member
    43

    Jul 21, 2010
    353
    33
    43
    Getting Money
    Neptune
    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.
     
  13. InstantKarma

    InstantKarma Well-Known Member
    103

    Dec 16, 2009
    998
    153
    103
    Male
    Houston, Tejas
    Neither. Select All Files under Save File Type as, and do not give it an extension. The entire file name is ".nomedia".
     
  14. InstantKarma

    InstantKarma Well-Known Member
    103

    Dec 16, 2009
    998
    153
    103
    Male
    Houston, Tejas
    You must've typed something on the file. It should be entirely empty and take up 0 bytes.
     
  15. Connectz

    Connectz Well-Known Member
    43

    Jul 21, 2010
    353
    33
    43
    Getting Money
    Neptune

    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?
     
  16. gocoogs

    gocoogs Member
    16

    Nov 4, 2009
    18
    2
    16
    Thanks Instant but do I create this file using the right click menu or should I open up Word?
     
  17. EarlyMon

    EarlyMon The PearlyMon
    5,218

    Jun 10, 2010
    57,631
    70,397
    5,218
    New Mexico, USA
    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.

    IMPORTANT - WHEN YOU'RE DONE, YOU NEED TO EXIT FROM THE TERMINAL - OR JUST ISSUE THIS COMMAND:

    cd

    OR YOU WON'T BE ABLE TO UNMOUNT (EJECT) THE SD CARD IN THE FINDER.

    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.
  18. Mabster

    Mabster Well-Known Member
    68

    May 26, 2010
    467
    127
    68
    Bay Area, CA
    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
     
  19. Mabster

    Mabster Well-Known Member
    68

    May 26, 2010
    467
    127
    68
    Bay Area, CA
    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.
     
  20. EarlyMon

    EarlyMon The PearlyMon
    5,218

    Jun 10, 2010
    57,631
    70,397
    5,218
    New Mexico, USA
    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?

    TIA.
     
  21. gocoogs

    gocoogs Member
    16

    Nov 4, 2009
    18
    2
    16
    I second this. How is it done in Astro?
     
  22. Connectz

    Connectz Well-Known Member
    43

    Jul 21, 2010
    353
    33
    43
    Getting Money
    Neptune
    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:

    [​IMG]
     
  23. EarlyMon

    EarlyMon The PearlyMon
    5,218

    Jun 10, 2010
    57,631
    70,397
    5,218
    New Mexico, USA
    You can do this with EStrongs File Explorer, free in the Market.

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

    Works.

    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.
     
  24. EarlyMon

    EarlyMon The PearlyMon
    5,218

    Jun 10, 2010
    57,631
    70,397
    5,218
    New Mexico, USA
    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.
  25. Connectz

    Connectz Well-Known Member
    43

    Jul 21, 2010
    353
    33
    43
    Getting Money
    Neptune
    Okay, I'll do the EStrongs cuz this is hurting my brain lol!
     
Tags:

Share This Page

Loading...