Author Topic: [APP] - version 4.5.+ ( 1. 12. 2021+ )  (Read 14394 times)

Offline Andrew Heard

  • Expert
  • Professor of Locus
  • *****
  • Posts: 1083
  • Thanked: 112 times
  • Country: au
    • View Profile
  • Device: Samsung Galaxy A5 v8.1, Samsung Tab A7 v10
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #165 on: December 24, 2021, 22:30:17 »
If you will be interested, I may create a special version with little more logs printed ...
Menion - always happy to help - but you have better things to enjoy on xmas day - whenever you get around to it. My Android11 tablet is purely for testing so not important to me. My main LM4 device stays solidly with Android8 for now.
LM4.11 GOLD user ID:142d400c7
 

Online Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12867
  • Thanked: 976 times
  • Country: cz
    • View Profile
    • https://www.asamm.com
  • Device: Pixel 5, A12
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #166 on: December 24, 2021, 22:52:11 »
@Andrew Heard sure I have, for example writing a blog post where I try to sum general info about theme support  ;). Hope you and others find there all answers. If not, I'll update it, of course, just ask, thanks.

Blog post on Medium.

And again, if something regards themes won't work as expected > share theme with me. John & Andrew, I'll prepare a version during next days ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 
The following users thanked this post: tapio, Andrew Heard

Offline tapio

  • Expert
  • Master of Locus
  • ****
  • Posts: 916
  • Thanked: 193 times
  • Country: 00
    • View Profile
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #167 on: December 25, 2021, 00:22:26 »
Menion,

this does  not work with a zip, please try the "OS map V4 day" legend. PDF cannot be accessed. Theme is incomplete, just for testing.

Quote
"add “my_theme.lnk” file with a relative path (relative to an XML file) to *.pdf file, so for example just “my_theme_legend.pdf” on the first line. Useful if more XML themes are in a single directory and share the same legend"
« Last Edit: December 25, 2021, 07:27:47 by tapio »
LM4 USER ID: 1AACAFF2A2
My "Tasker vs. Locus" YouTube playlist: http://tiny.cc/LocusVsTasker
 

Offline karlchick

  • More than Newbie
  • *
  • Posts: 77
  • Thanked: 59 times
  • Country: gb
    • View Profile
  • Device: Samsung Galaxy A52 5G
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #168 on: December 25, 2021, 01:02:46 »
Oh, I see, you mean accessing a legend in a zipped theme...

It would seem that making the path relative to the theme's xml file would make sense. Is the zipped theme unzipped in a local cache somewhere when in use?
Author of the OS Map theme.
 
The following users thanked this post: tapio

Offline bezel

  • Apprentice of Locus
  • **
  • Posts: 161
  • Thanked: 4 times
    • View Profile
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #169 on: December 25, 2021, 10:20:56 »
With Locus Map Pro it is a little more complicated as the app was twice declined and I'm unable to the public the official version with the "All files access" system. As mentioned before, will have to prepare it just as APK for direct install.
@menion
with the new Locus Map Pro version 3.56.4 (under android11 with OAM v5 maps) the app crashes again and again or stops as soon as you want to call up/select the themes, for example.
 

Offline john_percy

  • Expert
  • Master of Locus
  • ****
  • Posts: 965
  • Thanked: 181 times
    • View Profile
  • Device: MotoG
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #170 on: December 25, 2021, 10:27:05 »
@Menion With the new Locus Pro version 3.56.4, my online link to the Voluntary theme legend for Mapsforge v5 no longer works in Pro either. It still works for LoMaps, though.

Sent from my moto g(6) plus using Tapatalk
« Last Edit: December 25, 2021, 12:21:21 by john_percy »
 

Online Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12867
  • Thanked: 976 times
  • Country: cz
    • View Profile
    • https://www.asamm.com
  • Device: Pixel 5, A12
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #171 on: December 25, 2021, 21:55:48 »
@tapio
ah thanks. Problematic "line break" on the end of the first line. Fixed

@karlchick
the theme is unzipped to temporary cache if selected, to speed up work with it

@bezel
thanks, I've noticed this error in the automatically reported crashes. I have no idea why this happens but will look at it next few days.

@john_percy & @Andrew Heard
the new Beta version has just been generated. Please long click on the main menu button and enable "log to file" + logging of the "MAPS_CORE category. Try to simulate your issue and send me generated log from the "Locus/logs" directory, thanks!
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 
The following users thanked this post: tapio, Andrew Heard

Offline michaelbechtold

  • Expert
  • Professor of Locus
  • *****
  • Posts: 1041
  • Thanked: 133 times
    • View Profile
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #172 on: December 25, 2021, 23:15:16 »
Bingo, thank you, Menion. In ZIP themes the lnk file simply has to consist of the name of the legend PDF file (assuming it is at the same top level as the XMLs).
 

Offline Andrew Heard

  • Expert
  • Professor of Locus
  • *****
  • Posts: 1083
  • Thanked: 112 times
  • Country: au
    • View Profile
  • Device: Samsung Galaxy A5 v8.1, Samsung Tab A7 v10
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #173 on: December 25, 2021, 23:19:25 »
@menion - did anything else in 4.5.6.1_1055 change related to my reported issue (can't' select theme, green error msg)? Because I can't reproduce the issue now ;-( One thing I do still see, which may be related, is with Map Manager > select map > Map Manager > previous map details are still displayed instead of the selected map.

to reproduce: lets say I have 3 vector maps for same region: Locus, OAM4, OAM5, with OAM4 currently selected.
  • Map Manager > select Locus > return to main screen with Locus map
  • Map Manager > observe OAM4 details are still displayed?
  • Locus dot-dot-dot > Details > select Locus > return to main screen with Locus map
  • Map Manager > observe Locus details are now displayed
When opening Map Manager, shouldn't the details for the currently selected map be displayed? Is it possible I previously experienced situation where Locus tries to use theme of non-existent map - green message "No map with theme is active"?
« Last Edit: December 25, 2021, 23:21:47 by Andrew Heard »
LM4.11 GOLD user ID:142d400c7
 

Online Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12867
  • Thanked: 976 times
  • Country: cz
    • View Profile
    • https://www.asamm.com
  • Device: Pixel 5, A12
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #174 on: December 26, 2021, 12:43:54 »
Andrew, as visible on the screenshot here: https://forum.locusmap.eu/index.php?topic=7632.msg66285#msg66285 , there is a difference between selected and highlighted maps. It may be united, agree. But for now, the map with the colored background is the one, you see on the right side. Map with the name in highlight color (orange) is the one, currently active.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 
The following users thanked this post: Andrew Heard

Offline Andrew Heard

  • Expert
  • Professor of Locus
  • *****
  • Posts: 1083
  • Thanked: 112 times
  • Country: au
    • View Profile
  • Device: Samsung Galaxy A5 v8.1, Samsung Tab A7 v10
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #175 on: December 27, 2021, 04:00:49 »
OK, then I can't explain why the ZIP theme wasn't working. Maybe the log will help.
LM4.11 GOLD user ID:142d400c7
 

Offline balloni55

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3076
  • Thanked: 189 times
  • Country: de
    • View Profile
  • Device: Samsung XCover 4s Android 11
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #176 on: December 30, 2021, 08:04:09 »
hello menion
did i miss something ? do zipped themes work only for V4
when i save Tiramisu_3_0_2 in the theme folder of the extSD LM4 crashes directly when i click on the theme button
Locus Map Classic 3.62.0 AFA
Locus Map 4.11.0. Gold AFA
LMP User ID 7ee4dad32
LM4 User ID e06d572d4
 

Online Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12867
  • Thanked: 976 times
  • Country: cz
    • View Profile
    • https://www.asamm.com
  • Device: Pixel 5, A12
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #177 on: December 30, 2021, 08:15:44 »
Very good idea with IDs in signature, indeed  :)

I see that the app crashed because for the same reason as reported by the bongo in the different topic - the zip file seems to be corrupted. May you please share this file with me? Thanks
- 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 balloni55

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3076
  • Thanked: 189 times
  • Country: de
    • View Profile
  • Device: Samsung XCover 4s Android 11
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #178 on: December 30, 2021, 08:33:40 »
here you go,
the problem also occurs with older versions of this theme.
at first i thought it was because of the duplicate folders after unpacking, but that is not the problem
Locus Map Classic 3.62.0 AFA
Locus Map 4.11.0. Gold AFA
LMP User ID 7ee4dad32
LM4 User ID e06d572d4
 

Offline bezel

  • Apprentice of Locus
  • **
  • Posts: 161
  • Thanked: 4 times
    • View Profile
Re: [APP] - version 4.5.+ ( 1. 12. 2021+ )
« Reply #179 on: December 31, 2021, 09:02:57 »
@balloni55
maybe it is the same problem as with Locusmap Pro (https://forum.locusmap.eu/index.php?topic=7259.msg66387#msg66387) - themes saved on the external map cause the app to stop or crash.
A first "solution" I found was to save the themes internally, but leave the maps externally, but subdirectory for 'mapsVector' have to be set to App default setting/ internal directory (see link above).