Main Menu

Recent posts

#71
Developers / Custom router over API
Last post by TrulloF - April 13, 2026, 08:49:49
[Bug] InvalidObjectException crash when tapping navigation tile with external routing providers - ACTION_COMPUTE_TRACK_PROVIDER service not yet bound

Hi Menion,

I'm developing a third-party routing addon with the help of Claude Code that registers as an ACTION_COMPUTE_TRACK_PROVIDER service. Routing and rerouting work correctly, but Locus crashes whenever the navigation tile is tapped during active navigation (or when the navigation menu is opened, e.g. from the point menu, without having gone through Navigation → Routing first).

Crash:

java.io.InvalidObjectException: Service does not return valid 'trackTypes'

Root cause:
The navigation tile/menu ViewModel enumerates all registered ACTION_COMPUTE_TRACK_PROVIDER services and calls getTrackTypes() on each one synchronously, before onServiceConnected() has fired for services that haven't been bound in the current session. Internally, the API proxy guards every call with an isConnected flag that is only set inside onServiceConnected(). If the service wasn't previously bound, isConnected is still false at call time → InvalidObjectException.

100% reproducible steps:

Install any app (e.g. BRouter) that exports a service with action="locus.api.android.ACTION_COMPUTE_TRACK_PROVIDER".
Start a navigation session without going through Navigation → Routing (so the service was never bound in this session).
Tap the navigation tile during active navigation.
Crash.
Suggested fix (Locus side):

Wrap the getTrackTypes() call in a try/catch and treat the service as temporarily unavailable rather than crashing:

try {
    int[] types = service.getTrackTypes();
    // use types
} catch (InvalidObjectException | RemoteException e) {
    Log.w(TAG, "Routing service not yet connected, skipping: " + e.getMessage());
}

Alternatively, collect track types asynchronously inside onServiceConnected() and update the UI once binding completes, rather than calling eagerly before the connection is established.

Thanks for looking into this!
#72
Troubles & Questions / Re: Locus Map Gold is too dark
Last post by Wolfgang - April 12, 2026, 20:56:22
Hi,
In Good Lock from Galaxy Store there is a module named Display Assistant. There is a switch Brightness Limit Profile, this can be set from Standard to Light.
I have tried this and it will work. With a table lamp directly to the brightnesss sensor there will no throttling the brightness. A test in sunshine must follow.
Greetings
Wolfgang
#73
Locus Map / Re: Re: [APP] - version 4.33.+...
Last post by Diddi - April 12, 2026, 16:59:24
small bug:
I've downloaded the geocaching icon pack and selected it in the expert settings (writing the name)
It's not possible to get the standard icons back without getting n error, that the field for the icon pack name can't be empty.
#74
Locus Map / Re: Re: [APP] - version 4.33.+...
Last post by Graf Geo - April 12, 2026, 13:34:03
Klick on the X just below your marker on the right and they are back.
#75
Locus Map / Re: Re: [APP] - version 4.33.+...
Last post by WildWortWechsel - April 12, 2026, 11:27:22
After tipping on the "Files in Folders" in the Library the numbers disappeared. They were shown at the red marker.
#76
Seit der primären Ablehnung der Abo -Zahlung im Playstore kann ich LM4 nicht mehr nutzen.

Zuerst habe ich auf alternativem Weg das Abo fortgesetzt (Guthaben-Code), dann LM über das Login im Locus-Store wieder freigeschaltet und dann folgte ein Absturz nach dem anderen.

Inzwischen habe ich Locus komplett deinstalliert, das komplette Verzeichnis gesichert und dann gelöscht, neu gestartet, neu installiert und dachte dann, jetzt sei alles wieder okay. Über mehrere Stunden konnte ich diverse Konfigurationen vornehmen.

Dann, während des ersten aufgezeichneten Tracks und Umstellung auf Flugmodus - Crash, danach lässt sich Locus zwar starten, crasht aber meist binnen Sekunden, manchmal nach einigen Minuten.

Wie kann ich nun unter Android 16 am besten ein Log erzeugen, welches Menion im günstigen Fall analysieren kann?

Komisch bleibt, dass die Version, die zuerst crashte davor wochenlang ohne Probleme lief, erst nach Wiederaktivierung des Abos ging die Problematik los.

Hat noch jemand einen zielführenden Tipp, diesem Problem auf die Spur zu kommen?

LG, Jörg
#77
Planung mache ich gerne und ausschließlich in der App. Das einzige was mich da minimal nervt ist, dass sich der untere Bereich mit jedem hinzugefügten Punkt vergrößern will - für mich uninteressant - ich ihn also als allererstes wieder verkleinere, was sich LM zum Glück dann merkt.

Das Locusweb nutze ich nicht. Ich mag das Theme nicht und mich stört seit Tag1, dass man nur alles oder nichts synchronisieren kann. Also synce ich nichts.

Ich habe neulich versucht, mein Garmin eTrex Vista hcx zu bedienen und zu nutzen. Qualen.
Heute nehme ich als Backup ein zweites Smartphone, da ist Osmand drauf.
#78
Quote from: Wole on April 11, 2026, 09:24:23Auch die Planung einer Tour ist m. E. nicht Aufgabe von Locus. Hierzu setze ich schon seit Jahren eine eigene Software am PC ein.
NEIN! Genau der Routenplaner unter LM3 war für mich ein entscheidender Grund, mich von Garmin und Basecamp zu verabschieden. Im Motorradurlaub mit dem 8" Tablet als Navi und Planungsgerät zugleich: Genial.
#79
In der Ordneransicht von Tracks erscheinen die Höhenmeter bergauf in km, wenn sie 1000m überschreiten. Kann ich das wo umstellen? Km erscheinen mir unsinnig für Höhenangaben beim Wandern.
#80
Ist bei mir auch so, und zwar bei allen offline Karten, unabhängig vom Theme. Ich hab das vorherige Verhalten auch geschätzt, um unlesbares kurzfristig zu vergrößern.