Author Topic: Send intent ACTION_NAVIGATION_START  (Read 195 times)

Offline Rafti

  • Newbie
  • *
  • Posts: 2
    • View Profile
  • Device: samsung s8
Send intent ACTION_NAVIGATION_START
« on: May 21, 2021, 16:49:13 »
Hi, I am trying to send an Intent within Tasker, which should start the Navigation in locus based on the coordinates.
Action: locus.api.android.ACTION_NAVIGATION_START
Package: menion.android.locus.pro
Target: Activity
Extra: I tried many different variations of lat, lon
but locus always shows 'incorrect intent'
Does anyone know the correct settings or is it possible to navigate via Tasker anyway?
Thanks for any help
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12438
  • Thanked: 763 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: Send intent ACTION_NAVIGATION_START
« Reply #1 on: May 23, 2021, 20:53:39 »
Hi,
where you found info about how this intent should look like?

Give a try to these extra parameters
key: INTENT_EXTRA_LATITUDE, value: latitude
key: INTENT_EXTRA_LONGITUDE, value: longitude
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline Rafti

  • Newbie
  • *
  • Posts: 2
    • View Profile
  • Device: samsung s8
Re: Send intent ACTION_NAVIGATION_START
« Reply #2 on: May 24, 2021, 20:37:10 »
Hi, thank you for the information.
I found a hint on an apparently chineese website:
https://vimsky.com/examples/detail/java-class-locus.api.android.utils.LocusUtils.html
and fiddled it together,
wanted to post it, but you were faster
thanks, problem solved.
besides I found this Intent in the manifest.xml.
« Last Edit: May 24, 2021, 20:43:24 by Rafti »