This object is in archive! 

Android intent for moving map to lat/lon

Tapio shared this idea 3 years ago
Completed

Hi Menion, I was surprised there is none... I think an intent which makes the map move to a lat,lon position would be great. So we can have Locus start at a specific geo position.


thx

Replies (4)

photo
1

Hello Tapio

generic "geo" intent does not work for you?


Menion

photo
1

thx Will check. I guess this would trigger the ever appearing "open with" dialog... But I'd lovevto specifically call Locus.

photo
1

How you use these "intents"? It is usually possible to specify target of this intent. So it should be possible to specify Locus Map Pro with it's unique ID: "menion.android.locus.pro".

photo
1

Thanks, I try to use "send intent" from Tasker. Yeah, Locus package name goes to the "Package" field there. I already use Locus action tasks (where we use rhe Action and Extra field), but now I'm currently not knowing how to send the geo location to Locus.

photo
1

Thanks, I try to use "send intent" from Tasker. Yeah, Locus package name goes to the "Package" field there. I already use Locus action tasks (where we use rhe Action and Extra field), but now I'm currently not knowing how to send the geo location to Locus.

photo
1

SOLUTION:


Action: android.intent.action.VIEW

Data: geo:%lat,%lon

Package: menion.android.locus.pro

Target: Activity


Source:

https://groups.google.com/g/tasker/c/2ovBnzvn8Ic?pli=1

photo
1

Perfect, I'm glad it works for you!

Menion

Replies have been locked on this page!