DictionaryForMIDs for iPhone - via xmlvm

Started by jn0101, 05. May 2010, 10:14:19

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jn0101

Guys,

I have contact with a Korean Esperanto speaker that made an iPhone dictionary solution which he is considering open sourcing.
He got really enthusiastic about the 26 language pairs from http://lernu.net that are on their way, and I suggested he could adapt his solution to use the DfM engine (and thus have access to all the pairs that DfM publishes).

Ive used http://xmlvm.org before to test convert code from Java to Objective-C and I think it wouldnt be too had to convert the DfM engine to be usable from iPhone. Eventually the whole DfM Android user interface could be converted, but that would probably take a lot more work.

Do you have some sample code (or test code) lying around that shows how to initialize and use the DfM engine from an external app?

Jacob

Gert

Achim will be the best person to answer to this post, I assume that the Android implementation will be a good sample for using the DfM translation layer ('DfM engine').

Here is my bit of information: http://dictionarymid.sourceforge.net/development.html
There you find a description of the translation layer and its interface. Well, that description still may need some additions (for example the initialization that you mention is not yet included). I can provide such information if someone will include the DfM translation layer in an iPhone implementation.

And of course we can provide support via this forum.

Best regards,
Gert

axin

Having DfM on the iPhone would be great!

Quote from: Gert on 05. May 2010, 19:54:13
Here is my bit of information: http://dictionarymid.sourceforge.net/development.html

That link provided most information for using the DfM translation layer. Of course, you can also refer to the Android implementation (e.g. hmi_android.DictionaryForMIDs.onCreate():329, hmi_android.thread.LoadDictionaryThread.run(), hmi_android.DictionaryForMIDs.startTranslation(), ...) and post all the questions here ;-)

BTW, I've been reading some articles that Apple prohibits applications that are not originally written for the iPhone, e.g. on zdnet. Not sure how this might affect xmlvm though...

Achim

Gert

Already any news on the iPhone-topic ?

I just added one section in http://dictionarymid.sourceforge.net/development.html on Initialization in order to complete the information there.

QuoteThat link provided most information for using the DfM translation layer. Of course, you can also refer to the Android implementation (e.g. hmi_android.DictionaryForMIDs.onCreate():329, hmi_android.thread.LoadDictionaryThread.run(), hmi_android.DictionaryForMIDs.startTranslation(), ...)
Well, probably looking at that Android code as a sample is the easiest way.

Quoteand post all the questions here ;-)
And that will solve any remaining questions :)

Greetings,
Gert