MuditaOS Map App Crashes When Launched With geo: Intent

Background

Mudita Maps crashes on launch whenever my app sends it an Android geo: intent (e.g. tapping “open in maps” / an address). The map app doesn’t open and its process dies immediately with a NullPointerException in GeoIntentActivity.onCreate.

Specs

Device: Mudita Kompakt

Version: MuditaOS K 1.5.0

Steps to Reproduce

  1. From a custom 3rd party app, fire a geo: intent:

Intent(Intent.ACTION_VIEW, Uri.parse("geo:39.9537,-75.1642?q=39.9537,-75.1642(Some Place)"))

  1. When prompted on the device, select to open that geo: intent in the Mudita Maps app

  2. Mudita Maps crashes

Crash Logs

I observed these crash logs from logcat when investigating the crash: https://pastebin.com/raw/drp38nEQ

For some reason the forum gives me a 403 error whenever I try to paste the full crash logs, so I am posting to pastebin I guess.

Expected Behavior

I’d expect the Mudita Maps app to load and open directly to the coordinates I passed on the geo: intent. I would also expect the option to get directions to that location.

2 Likes

Yeah I noticed this with my very tiny additions to (and private mods of) “Calm Maps”.. kinda bummed me out. Looks like @davidray has taken to adding his own navigation system to his app, which is primarily the directory/maps I’m using now.

2 Likes

@snarr So, this problem is occuring when you’re trying to use the native Mudita Kompakt maps with some other third-party app? Am I understanding that correctly? Is this happening when another app tries to hand off a location/address to the native Mudita Maps app on Mudita Kompakt?

Hey @urszula, thanks for the quick response. You know how when someone sends you an address over text, most phones let you click on that address to open it in the Maps app? On the Kompakt, clicking on an address from an app and trying to open it in the Maps app results in the Maps app crashing 100% of the time. I think your analysis is correct but I’d also go as far to say that this probably would happen with a first-party app as well.

2 Likes

@snarr GOT IT! Now, I understand what you’re trying to do. I will ask the team about this.

2 Likes