0

Android Automotive Geo Intent to the ABRP app doesn't work anymore

  • Done

Avatar
Volodymyr “Androidovych” Pastukh

Previously default geo intent with one point of interest worked well. Other apps could send point coordinates and start navigation to it.
For now geo intent opens ABRP app but there are no routes or points, nothing happens.

A

Activity Newest / Oldest

Avatar

Bo_ABRP

Should have been fixed with version 4.4.3.


Avatar

Bo_ABRP

Status changed to: Done

Avatar

Manuel_ABRP

Status changed to: User Feedback

Avatar

Manuel_ABRP

Hi, I just gave it a try and it works fine here.
Starting an adb shell and executing this command will just bring up ABRP showing the marker and the possibility to add a waypoint or start navigation.
am start -a android.intent.action.VIEW -d geo:48.2177613756805,16.39936707024105?q=Prater
Please make sure to run the latest version, if you still see it not working I would be happy to know which app you are using to share the location to ABRP.


Avatar

Volodymyr “Androidovych” Pastukh

Hi, I tested your example and it works fine.
I investigated why it doesn't work with my intent, and found that my intents include points with negative longitude, which aren't handled. (for example, try this `am start -a android.intent.action.VIEW -d geo:51.3067207,-1.0883369`)
Also, some of the intent flags stopped working (Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS, Intent.FLAG_ACTIVITY_CLEAR_TASK)
It's important to have an opportunity to build route to points with negative values in coordinates.


Avatar

Manuel_ABRP

Thanks for bringing that up, I'll fix it ASAP. :)


Avatar

Volodymyr “Androidovych” Pastukh

Ok, thank you too)


Avatar

Bo_ABRP

Are you running ABRP in the Polestar 2 (or some other Automotive platform)?


Avatar

Volodymyr “Androidovych” Pastukh

I downloaded ABRP from Ignite Store on the Harman Automotive emulator and I am running the app on it.