[tomboy-list] JME Extension

Sanford Armstrong sanfordarmstrong at gmail.com
Sat Aug 18 10:37:44 PDT 2007


On 8/18/07, Antonio Marcos da Silva Junior <amsjunior at gmail.com> wrote:
> Hi all,
>
> I'm beginning the development of a notes system for mobile devices (using
> JME), and I would like to integrate it with Tomboy. My software will be
> released under some open source license (I still don't know which one will
> be used).
> So, my idea is to synchronize the notes in the mobile device with Tomboy,
> using a bluetooth or wired connection.
> Could I develop a synchronization daemon that works as a plugin in Tomboy?
> And, do I need to implement this plugin in C#?

Sounds cool.  You have a few options to achieve your goal (note, when
I say "C#", I mean "any Mono language"):

1. Create a Tomboy ApplicationAddin in C# that runs while Tomboy runs.
 You can program this to do basically anything you want.

2. Write a Tomboy SyncServiceAddin in C# to integrate into our note
synchronization framework.  A SyncServiceAddin is supposed to
represent syncing your notes to some centralized storage like a
server, so this might not make sense for your application.

3. Use whatever language you want to interact with Tomboy via its DBus
interface.

4. Extend Conduit [1], a cool GNOME app for syncing between arbitrary
data sources/sinks.  The Conduit devs can explain more about how this
would work, but check out their website.

Really, there are tons of ways to get notes between your app and
Tomboy.  Which way you choose is probably going to be determined by
how you want your users to interact with the feature.  Do you want
them to initiate a sync from Tomboy?  Do you want 100% note
synchronization, or just a few notes?  Do you want to be able to sync
notes even when Tomboy is not yet running?

The SyncServiceAddin API is not yet documented (or even finalized),
but it will be by the time 0.8.0 is released next month.  If you need
more technical details about any of the options I've mentioned, feel
free to post questions here.  You can also visit us in #tomboy on
GIMPNet (Conduit devs hang out in #conduit).

Cheers,
Sandy

[1] http://www.conduit-project.org/


More information about the Tomboy-list mailing list