Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - TrulloF

#1
Quote from: Menion on October 16, 2026, 11:56:11@TrulloF
back button arrows > sorry, it has a problem on more screens. Fixed.
Fix confirmed. Thank you.
#2
In the latest beta version the back button in the theme selector doesn't work for me. I have a rather small screen on my XZ1 Compact (LineageOS 19.1, Android 12). Maybe that's the problem? Tapping the arrow on the upper left doesn't do anything.
#3
Am besten mal den Zwischenspeicher löschen. Manchmal werden aber auch Features entfernt zwischen Kartenversionen. Vor einiger Zeit hatten die LoMaps eine ganze Reihe Sportarten integriert. Die gibt es inzwischen nicht mehr. Einer der Gründe, warum ich mir die Vectormaps inzwischen selbst baue. Damit kann ich das Beste aus beiden Welten (LoMaps, OAM) in einer Karte nutzen.
#4
If it helps, I second the idea to include beergarden in the poiv2.db 😊. There's no trace of an icon anywhere in the app assets yet, so it's a completely new addition. I don't know how hard it is to implement it into the poi system of Locus.
#5
Just download the "Code" as zip (desktop browser mode) and copy the file, where the other themes are located. Depending on your setup the "_themes" folder is a sub-folder of  /Android/media/menion.android.locus/mapsVector or /Android/data/menion.android.locus/mapsVector, either in your internal or external memory.
#6
If you use a theme with poi icons, beergardens are shown on the map. Try Voluntary for instance. That way they are least showing.
#7
Why don't you create a dashboard in Locus, which has a solid black background? The internal dashboard editor should be able to that. It takes some time to understand it, but then you have lots of possibilities to play around with.
#8
Same here.
#9
Externe BRouter App installieren? Dann hast Du eventuell eine neuere Version anstatt die built-in und die sollte mit dem Parameter was anfangen können.
#10
Developers / Re: Custom router over API
July 06, 2026, 12:14:43
Ok, "your" AI was right. Problem was full heap on my testing device (Xperia XZ1 Compact). On a Xperia 10III the problem isn't present. I'll report back after more thorough testing, but looks like my "fix" needs to be a new phone.
#11
Problem seems to be related to my device's lack of RAM. Tested briefly on another phone with more RAM and the lockup is gone. Time for a new phone 😉.

Quote from: Menion on June 29, 2026, 13:14:38@TrulloF
oki, let's discuss it in a separate topic. It is starting to be quite complicated. Mainly because I'm unable to simulate any problem ...
#12
Developers / Re: Custom router over API
June 29, 2026, 22:40:53
Let me try to answer without AI 😁. To reproduce the bug you'd need to be driving, while starting a new navigation from the point menu with an external routing provider activated.
It's also happening right after a fresh start of Locus, doesn't matter.
I created a workaround by starting navigation via the addon button in the point menu (non-AIDL path). Works instant and without lockup. As you have access to my github you could download the latest version, install and test for yourself. I'll test with a different phone these days, but I'm quite sure it's not a memory problem.
#13
Developers / Re: Custom router over API
June 27, 2026, 12:31:47
Hi Menion,

Thanks for the lockup fixes in 4.35.0 (v1215). Unfortunately I hit the navigate-while-moving freeze again on a drive yesterday (2026-06-26). The signature is different from the earlier blocking-I/O ANRs, so I think one path remains.

Setup: Locus Map 4.35.0 (v1215), external routing addon active (my own ACTION_COMPUTE_TRACK_PROVIDER engine). Started navigation, Locus locked up and never recovered; I had to force-stop.

What the ANR shows (anr_locus_..._2159_navigate-while-moving.txt):

Main thread is Runnable and spinning (not blocked on I/O) — ~33 s of CPU on tid=1, process at 145% user CPU.
It's driven by a GPS update on the UI thread, holding two internal locks:
LocationListener.onLocationChanged
  → r20.d.onLocationChanged → f10.j.c
  → v20.a.f  (locked <0x...> v20.e)
  → ... → zt.c1.onEvent  (event bus)
  → ... → i70.d.j  (locked <0x...> i70.d)
  → com.google.android.gms.internal.ads.ec1.I/L/J → lp0.a0.b
Heap at the time: 4% free, 398MB/417MB, 12.08M objects, with heavy concurrent-copying GC (MarkingPhase sum ~9 s over 34 iterations) — so memory pressure may be feeding the spin.
This is distinct from the 2026-06-21 freezes (those were UI-thread blocking I/O in SQLite NativeDB.prepare / FilterInputStream.read). Here it's a compute/allocation spin in the per-location event handler — every GPS fix re-enters it, which fits "freezes while moving."

I've confirmed the routing addon is not involved: it returned the track in 698 ms and its name appears in no frame of either ANR, and the return leg of the same drive navigated for 24 minutes on the same engine without issue.

A second ANR from the same day (anr_locus_..._0025.txt, UI button press stalling in Resources.getInteger/AssetManager) is attached in case it's related.

Both files are the Locus process section only, with the device build fingerprint and APK install hashes redacted.

Thanks!

Attachments:
anr_locus_2026-06-26_2159_navigate-while-moving.txt
anr_locus_2026-06-26_0025.txt


This report was prepared with the help of Claude Code, which pulled and analyzed the ANR traces and the addon log, and redacted the attachments.
#14
Unfortunately the bug with external routing addons and starting navigation while moving isn't fixed. Locus still locks up while waiting for GPS, even though the signal is already there. Starting navigation via the POI addon button while driving works though as a workaround. I posted the bug in the developer forum.
#15
Developers / Re: Custom router over API
June 22, 2026, 17:11:30
Quote from: Tapio on June 22, 2026, 10:23:44
Quote from: Menion on June 22, 2026, 09:46:06interesting how deeply you were able to trace the problem and almost correctly  :).
How he even sounded like AI output - impressive😬
Of course it's AI output, but if it helps to make the app better, fixing bugs in the process, then I'm gladly guilty of Ai slop. The addon I'm working on is the last missing link for me, to make Locus my only all-in-one navigation solution by providing traffic aware routing with the help of the free TomTom API. Works surprisingly well and is free.