Icons that appear in android gallery

Started by Gammalerik, September 16, 2011, 10:45:34

0 Members and 2 Guests are viewing this topic.

Gammalerik

I have a minor little tip for coming updates. All the tiny icons in Locus do appear in gallery, and an easy way to avoid this is to create a simple file which contains absolutely nothing. This file has to be called .nomedia and put in the folders that contains icons and/or pictures.

For those who would like to do this themselves, just search your phone for this file and copy-paste with your favorite explorer into the folders that appear in Locus. Your phone is littered with this file in other apps and games.
  •  

wvb

#1
Thanks for the tip!

Sent from my GT-I9100 using Tapatalk
  •  

Menion

#2
yes nice tip. I already hear about it from someone ...

so Locus now add automatically this files into

locus/cache/customScreen
locus/cache/images
locus/data/nav_audio
locus/icons

directories ;)
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

wvb

#3
Yay, thanks for the fast action :)

Sent from my GT-I9100 using Tapatalk
  •  

berkley

#4
Quote from: "menion"yes nice tip. I already hear about it from someone ...

so Locus now add automatically this files into

locus/cache/customScreen
locus/cache/images
locus/data/nav_audio
locus/icons

directories ;)

Would you be so nice and put this file also in "locus/mapsOnline/custom"?

 :mrgreen:
Search before posting!!!
XDA Orbit, HTC Touch HD, SGS1, SGS2, Nexus S, S4 Active, OnePlus One, Innos D6000
OnePlus X
  •  

Menion

#5
eh, yes .. added :)
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

rijackson741

#6
I think if you just put the file in the locus directory, it applies to all subdirectories too.
  •  

Menion

#7
really? I don't think so. Didn't tested but should be weird system by my opinion ... and also, I don't want to exclude directories that store photos taken by camera called from locus ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

rijackson741

#8
Quote from: "menion"really?
Yes.

Quote from: "menion"I don't think so. Didn't tested
I did though  ;)

Quote from: "menion"but should be weird system by my opinion ...
I think that depends on how you look at it. I have another mapping app (Aura) that has a voices directory with 37 subdirectories for different languages. It's much easier to have one .nomedia file than 37, one for each Subdirectory. In fact, the .nomedia file is one level higher than the voices directory, and also deals with all the icons and avatars in other directories.

Quote from: "menion"and also, I don't want to exclude directories that store photos taken by camera called from locus ...
That's a good point.
  •  

Menion

#9
fine, thanks :) very good to know. Anyway because there is not much subdirectories with images, I think that current system is fine for locus, so I put into four or fine directories, this .nomedia file, to keep some other directories with photo images, to appear in media gallery
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

berkley

#10
Quote from: "menion"eh, yes .. added :)

Thanks for this. So i don't need to make an update for all that country flags appearing in the gallery...  :geek:
Search before posting!!!
XDA Orbit, HTC Touch HD, SGS1, SGS2, Nexus S, S4 Active, OnePlus One, Innos D6000
OnePlus X
  •  

arnor

I see now in gallery these pictures from Locus 4 in directory /locus/cache/map/vector/svg

Is there something wrong ?
  •  

Menion

Hello, interesting. As I see, the app should (and on my device it really happens) create a special ".nomedia" file in this directory so such files should not be added to the gallery. Does this file exists in this directory? If no, simply create it manually.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

arnor

  •  

Menion

Missing? Interesting. I'm checking it again and do not see the reason why this should happen. Anyway fine, I hope this solves the gallery issue.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •