navit-project.org

forum for navit navigation tool
It is currently 25 Jun 2017, 05:27
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the installation and configuration of Navit.

Some notes before your first post:

Please provide as much informations as possible:



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Command from command-line user interface
PostPosted: 09 Mar 2015, 18:51 
Offline

Joined: 09 Mar 2015, 18:46
Posts: 1
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


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS