om-locations (tangoGPS?) dbus routes

Jeremy Chang jeremy at openmoko.com
Tue Sep 16 05:06:55 CEST 2008


On Mon, Sep 15, 2008 at 08:15:17PM +0200, Simon Kagstrom wrote:
> Hi!
> 
> First a general question: Where can I find the dbus API for
> om-locations/diversity-nav?
    They communicate with diversity-daemon through dbus.
    You can check diversity-daemon, there is also doc for dbus API. 
> 
> Then a request. I've tried to browse the source code to understand what
> is exported, and one thing I'd like which I don't *think* is available
> is the ability to record paths, i.e., something like
> 
>    org.openmoko.Diversity.Path
> 
>    methods:
> 
>    NewPath -> object handle
> 
>    StartRecording(obj)
>    StopRecording(obj)
> 
>    AddSymbol(obj, sym) -> Add a symbol (small icon, png) to the path
>                           (current location)
>    AddNote(obj, text) -> Add text to the path (current location)
> 
>    Display(obj) -> Display the path on the map
> 
> The usage pattern I'm after is for external programs that also use the
> GPS to be able to record paths and add interesting tags and notes to
> them.

    Though path recording is not implemented yet right now. 
> 
> // Simon
> 
> _______________________________________________
> devel mailing list
> devel at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.openmoko.org/pipermail/devel/attachments/20080916/91dd0e5e/attachment-0001.pgp 


More information about the devel mailing list