On Jan 16, 11:03 pm, koepked <[email protected]> wrote: > Hi All, > > I'm a few days late to the discussion, but like Cassellino, I am > interested in the prospect of an Android client for Mnemosyne. I'm > also looking for a project, so I figured this might be a decent one. I > have a few questions though, if someone has the time to offer a little > help. I thought about looking into wrapping Mr. Bourke's Mnemogogo > library as he suggested, but I'd like the ability to sync over the web > instead of USB. I started poking around the 2.0 branch last night, and > my thought is to first write a plugin to sync Mnemosyne's internal > SQLite DB to an external MySQL DB. My plan was to figure out a way to > use SM2Controller to migrate updated card grades and card last_reps > from the MySQL DB back into the SQLite DB so that Mnemosyne could > still do the scheduling and record keeping it is designed to do. That > was the plan, until a bout 40 minutes ago, when I came across > libSM2sync/README. No libSM2sync code exists in the branch (unless I > missed it, which is very possible!).
There is code in the pbienst branch. but it's very much in flux. I think there are two possibilities for an Android port. * use Java, but then you can't reuse anything from libmnemosyne which is in Python. You could start from Tim's code, though. * use Python. If Android does not support SQLite in Python, but does support MySQL, then the way forward is not by modifying the controller, but by implementing a different database backend which has the same functionality as the SQlite backend. The design of libmnemosyne is such that the database component is nicely isolated from the rest of the framework, precisely to allow this. In any case, it's best to use openSM2sync to sync with the desktop version. but it's not ready yet. Still, there is plenty of other Android work to be done, so that should not stop you from getting started :-) Glad that you want to work on this! If you want more info, just let me know! (but perhaps better on the devel mailing list) Cheers, Peter
-- You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mnemosyne-proj-users?hl=en.
