Author Topic: Icons that appear in android gallery  (Read 4534 times)

Offline Gammalerik

  • More than Newbie
  • *
  • Posts: 60
    • View Profile
Icons that appear in android gallery
« on: September 16, 2011, 10:45:34 »
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.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline wvb

  • Expert
  • Apprentice of Locus
  • **
  • Posts: 218
    • View Profile
  • Device: Z1, Nexus 7, TrueSmart
Re: Icons that appear in android gallery
« Reply #1 on: September 16, 2011, 11:36:26 »
Thanks for the tip!

Sent from my GT-I9100 using Tapatalk
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12533
  • Thanked: 797 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Icons that appear in android gallery
« Reply #2 on: September 16, 2011, 14:11:08 »
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 ;)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline wvb

  • Expert
  • Apprentice of Locus
  • **
  • Posts: 218
    • View Profile
  • Device: Z1, Nexus 7, TrueSmart
Re: Icons that appear in android gallery
« Reply #3 on: September 16, 2011, 15:23:10 »
Yay, thanks for the fast action :)

Sent from my GT-I9100 using Tapatalk
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline berkley

  • Expert
  • Master of Locus
  • ****
  • Posts: 900
  • Thanked: 1 times
    • View Profile
  • Device: 1+1, N7
Re: Icons that appear in android gallery
« Reply #4 on: September 18, 2011, 16:09:37 »
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:
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Search before posting!!!
XDA Orbit, HTC Touch HD, SGS1, SGS2, Nexus S, S4 Active, OnePlus One, Innos D6000
OnePlus X
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12533
  • Thanked: 797 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Icons that appear in android gallery
« Reply #5 on: September 18, 2011, 17:18:55 »
eh, yes .. added :)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline rijackson741

  • Expert
  • Apprentice of Locus
  • **
  • Posts: 180
    • View Profile
Re: Icons that appear in android gallery
« Reply #6 on: September 18, 2011, 18:48:41 »
I think if you just put the file in the locus directory, it applies to all subdirectories too.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12533
  • Thanked: 797 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Icons that appear in android gallery
« Reply #7 on: September 18, 2011, 18:58:52 »
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 ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline rijackson741

  • Expert
  • Apprentice of Locus
  • **
  • Posts: 180
    • View Profile
Re: Icons that appear in android gallery
« Reply #8 on: September 18, 2011, 20:38:56 »
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.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12533
  • Thanked: 797 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Icons that appear in android gallery
« Reply #9 on: September 18, 2011, 21:10:33 »
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
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline berkley

  • Expert
  • Master of Locus
  • ****
  • Posts: 900
  • Thanked: 1 times
    • View Profile
  • Device: 1+1, N7
Re: Icons that appear in android gallery
« Reply #10 on: September 18, 2011, 22:27:14 »
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:
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Search before posting!!!
XDA Orbit, HTC Touch HD, SGS1, SGS2, Nexus S, S4 Active, OnePlus One, Innos D6000
OnePlus X
 

Offline arnor

  • More than Newbie
  • *
  • Posts: 10
    • View Profile
  • Device: Samsung Tab A
Re: Icons that appear in android gallery
« Reply #11 on: August 25, 2021, 15:56:15 »
I see now in gallery these pictures from Locus 4 in directory /locus/cache/map/vector/svg

Is there something wrong ?
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12533
  • Thanked: 797 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Icons that appear in android gallery
« Reply #12 on: August 26, 2021, 19:36:21 »
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 final download
 

Offline arnor

  • More than Newbie
  • *
  • Posts: 10
    • View Profile
  • Device: Samsung Tab A
Re: Icons that appear in android gallery
« Reply #13 on: August 26, 2021, 21:44:45 »
I did create now. It was not there.
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12533
  • Thanked: 797 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Icons that appear in android gallery
« Reply #14 on: August 27, 2021, 09:51:16 »
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 final download