Hey guys, I am user of navit for some time and this weekend (now it is more than few months) I wanted to make Navit more integrated with other applications on webOS (never mind, core is the same). When I was digging in files I found that there is possibility to add option -s command.txt to navit executable to run one-time command, if I'm right. This is even implemented in navit.sh script starting navit in webOS.
I tried few hours to deal with it, but without success. At first, I'm not sure if it is intended use of this feature, because it is nowhere documented. Second question would be what is the expected syntax of these commands, namely I'm interested in set_destination(). Last question is about debugging. I tried to set global log to level 3 so I had large log, but I was unable to find any success or failure of this command, only this one:
> navit:command_call_function:function=set_destination
Is there anybody who would be able to assist me with this issue or who would kick me in some direction how to continue?
I'm heading to use case, when one application would launch Navit with destination set up to specific coordinates. WebOS has a command to launch applications, but the problem is setting up the coordinates. Communication through the file at launch time would be enough for now. I think we don't have D-Bus.
Or if you have some other ideas how to solve this, please let me know.
Best regards, Jakub Jelen
|