Main Menu

Recent posts

#1
Ich hänge mich hier mal an.

Bei Import von Tracks/Routen kann man noch immer GDrive auswählen nur gibts dann ein "App Blockiert"
Bitte nehmt die Option raus wenn es ohnehin nicht mehr funktioniert, bzw ruft mit dieser Option die GDrive Android App auf, mit der geht es dann.

LG, Christian den es noch immer gibt ;-)
#2
Developers / Re: Custom router over API
Last post by Menion - Today at 14:54:59
Hello TrulloF,

thanks for the access to the project. This API was never used in production, so good time to make it work. The serious problem in how the app handles async access to service metadata should be fixed now.

Not ideal, but should work. Give a try to the next Beta version, tomorrow.
#3
@Mips
Ich verwende nur eine ältere V3-Version.
Möchtest du mal etwas ausprobieren?
Nutze mal die Webversion von Brouter web essbee
Wähle den GPX-Export im Locus-Format.
Teste damit kurz das Navigationsergebnis.
#4
Quote from: Mips on May 26, 2026, 11:35:44ob dieser gravierende Bug nicht vielleicht den Umstieg auf V4 "erleichtern" soll.
Pssssst. Sowas darfst Du hier niemals äußern, sonst wirst Du gebannt🫢.
Außerdem hast Du nach dem Umstieg noch ganz andere gravierende Bugs.
Aber ich hab nix gesagt🙊
#5
[CZ&SK] - diskuze o Locusu / Re: Geocaching - LM3 vs LM4
Last post by Čelda - Yesterday at 19:14:30
QuotePřizpůsobujeme Locus Map lidem, kteří nechtějí studovat manuály, protože potřebujeme uživit 11 lidí, kteří aktuálně na aplikaci pracují na plný úvazek, a nechceme pro ty pokročilejší zvedat cenu na dvojnásobek. Buď máš specifickou aplikaci pro minoritu, kterou si necháš ale zaplatit, nebo opačně. My hledáme kompromis.
Jinými slovy říkáš to samé co já - zmenšuješ složitost programu (i za cenu zhoršení pro pokročilé uživatele) jen proto, že hrozí, že hlupáci/lenoši by to nepochopili/byli líní studovat a ty si nemůžeš dovolit, aby kvůli tomu odmítli za program platit...

Ale OK, vyzkouším Betu. Ale jak se to dělá, když chci na stejném mobilu provozovat zároveň (nebo popř střídat) běžnou verzi LM4 z Obchod Play a zároveň Betu tak, abych sdílel stejná mapová/profilová data (a ta se mi při odinstalaci nemazala)? Je to někde popsané?
#6
Developers / Re: Custom router over API
Last post by TrulloF - Yesterday at 17:32:12
Hi Menion,

I can confirm it is still reproducible on 4.34.1.2 (versionCode 1214). I think I now understand exactly why it happens and what the fix should be.

---
Crash (condensed logcat, 4.34.1.2):

FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity
  ComponentInfo{.../RoutePlannerActivity}:
  An exception happened in constructor of class xt.d1
Caused by: java.io.InvalidObjectException: Service does not return valid 'trackTypes'
    at vr.q.m(...)
    at gx.b.k(...)
    at xt.d1.<init>(163)
    at RoutePlannerActivity.K0(...)
    at RoutePlannerActivity.onCreate(...)

---
Root cause

Android's Context.bindService() is asynchronous - the binder is only available after onServiceConnected() fires. If RoutePlannerActivity opens before that callback has fired (i.e. in any fresh Locus session where the user hasn't visited routing settings yet), Locus asks the external service for its trackTypes while it is not yet connected.
Instead of treating "not yet connected" as a transient state and returning an empty list, Locus throws InvalidObjectException - which propagates uncaught out of the ViewModel constructor and crashes the Activity.

This is a race condition inherent to the Android binding lifecycle: there is no way for an external addon to guarantee it is pre-connected before the user opens the route planner.

---
Suggested fix

When an external ACTION_COMPUTE_TRACK_PROVIDER service is registered but its onServiceConnected() has not fired yet, getTrackTypes() should return an empty array rather than throw. An empty array is a valid transient state - the UI can show a spinner or refresh once the connection is established. Throwing an uncaught exception from a ViewModel constructor is never recoverable.

The error message "Service does not return valid 'trackTypes'" already exists as a user-facing toast for when something goes wrong during active use - that path is fine. The issue is specifically the throw propagating up into RoutePlannerActivity.onCreate() before the service has even had a chance to connect.

---
Workaround for users until fixed: in Locus Routing Settings, tap the configure icon next to the external router once per session. This triggers bindService() explicitly and the crash won't occur for the rest of the session.

Thank you!
#7
Developers / Re: Custom router over API
Last post by TrulloF - Yesterday at 14:52:30
Thank you for your reply. I sent another invite. BR
#8
Troubles & Questions / Re: Search activity with 2 poi...
Last post by Mick FU - Yesterday at 13:51:45
Hi Menion,
Thanks.
I am doing exactly that, dreaming for something "smarter".
To improve this usecase, I would love having :
- max distance filter but for tracks 😊 (make visible lots of tracks quickly)
You cannot view this attachment.

- search option "in visible tracks only"
You cannot view this attachment.
#9
Hi Arnor,

You can upload the MP4 file to any online storage service, such as Google Drive or Dropbox, and then send me the download link. You can post it here on the forum or send it to me via private message - whichever is more convenient for you.

Thank you!
#10
[CZ&SK] - diskuze o Locusu / Re: Problém s trasama?
Last post by Menion - Yesterday at 09:52:52
Jen označuju jako vyřešený. Byla potřeba manuální oprava databáze.