|
#1
|
||||
|
||||
|
We had this discussion on IRC (#maemo) lately, about how to start Nokia Maps with dbus. As I do not know if they changed anything within changes of PR1.2-1.3 I can only tell that this is the PR1.3 way we figured to work.
For CLI with Lon./Lat. you may consider a direct step Code:
dbus-send –dest=com.nokia.Navigation.NokiaMapsProvider –type=method_call /Provider com.nokia.Navigation.MapProvider.ShowPlaceGeo double:<latitude> double:<longitude> uint32:0 Code:
dbus-send –dest=com.nokia.Navigation.NokiaMapsProvider –type=method_call /Provider com.nokia.Navigation.MapProvider.LocationToAddresses double:<latitude> double:<longitude> boolean:false What the abook does with a contacts address to open it in Nokia Maps is a AddressToLocation call with the known strings, the dbus reply is the location in Lon./Lat.. Then it calls the ShowPlaceGeo I mentioned first. Please point me to the thread this is talked about as I found one once but am not able to find it again. Any additional code snippets for Python C# C++ and others are more than welcome. If anyone does fancy a full AddressToLocation call please tell as I didn't do that yet and am pleased with any further help on fixing this up in here (or the other thread) to have it, once ready, updated at the wiki.
__________________
useful links for newcomers: New members say hello, New users start here, Community subforum, Beginners' wiki page, Maemo5 101, FAQ |
|
#2
|
|||
|
|||
|
QtDBus (not by me): https://garage.maemo.org/plugins/ggi...3ab73a;hb=HEAD
Untested DBus-GLib (http://dbus.freedesktop.org/doc/dbus...mple-program-1) for the ShowPlaceGeo call: PHP Code:
|
|
#3
|
|||
|
|||
|
Quote:
http://talk.maemo.org/showthread.php?t=52914 |
|
#4
|
|||
|
|||
|
|
|
#5
|
||||
|
||||
|
Quote:
__________________
useful links for newcomers: New members say hello, New users start here, Community subforum, Beginners' wiki page, Maemo5 101, FAQ |
![]() |
|
|