[SailfishDevel] Triggering a navigation intent on SailfishOS?
micu
micuintus at gmx.de
Fri Mar 16 10:47:14 UTC 2018
Hey fellow Sailors,
Currently I am trying to figure out how to nowadays trigger an
"navigation intent" or something similar on SailfishOS:
https://github.com/micuintus/harbour-Berlin-Vegan/issues/74
Back in the Jolla 1 days, when the native Sailfish Maps app was
still supported,this was pretty simple with
Qt.openUrlExternally("geo:" + query)
With the Android based HERE WeGo app in place,
I can achieve a similar thing with
dbus-send --print-reply --dest=org.coderus.aliendalvikcontrol /
org.coderus.aliendalvikcontrol.uriActivitySelector string:'geo:$query'
But I have to have aliendalvik-control installed for that. I tried to
basically copy over the respective code from aliendalvik-control
https://github.com/micuintus/harbour-Berlin-Vegan/commit/2f6ca7eeeb5abc09332811140c5b07aca28b6781,
but it seems that chroot / setuid isn't allowed from a normal app;
and I couldn't get app_process to run anywhere outside a "chroot
/opt/alien" environment.
Do you have any suggestion for me?
Kind regards,
micu
PS: Will that situation change with Sailfish3, i.e. will Sailfish3 have
something like the DBus interface of aliendalvik-control built in?
More information about the Devel
mailing list