• Welcome to DictionaryForMids Forum.
 

If I contribute with dictionaries, will they appear in the DdM's palette?

Started by jn0101, 23. April 2010, 16:34:15

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

axin

Hi Jacob,

Quote from: jn0101 on 28. April 2010, 14:18:27
Sure, here it is.

BTW Ive made changes in a few places in the source tree.

thanks, I just committed all the Android related files.


Quote from: jn0101 on 28. April 2010, 14:24:06
Try this:
Open emulator at http://microemu.org/microemu-webstart/index.html
Open http://javabog.dk/filer/paroj/eo-en/ and drag JAD file to it.

Hey, that would make a cool demo on our website!

-Achim

jn0101

Quote from: jn0101 on 28. April 2010, 14:24:06

Try this:
Open emulator at http://microemu.org/microemu-webstart/index.html
Open http://javabog.dk/filer/paroj/eo-en/ and drag JAD file to it.


Or, just try this link: http://microemu.org/webstart/javabog.dk/filer/paroj/eo-en/DictionaryForMIDs_eo-en_lernu.jnlp

I really think the DfM home page should have such links to enable users to try out the application and dictionaries easily before they install on their phones!

What do you think?

Really, during the years, I have passed by the DfM home page many times, but just never got to install the app. I think a possibility for easily trying out your stuff would triple your user base!

Jacob

jn0101

@Achim: Could you please apply this patch?

It contains:

1) Updates to include Esperanto in the J2ME GUI:
M       JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/uidisplaytext/UIDisplayTextContents.java
M       JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/uidisplaytext/UIDisplayTextItems.java
M       JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/uidisplaytext/DictionaryForMIDs.languages


2) An update that will make DfM work with microemu.  See
http://code.google.com/p/microemu/issues/detail?id=44&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Reporter%20Stars
The update should be deleted in 6 months (when a new version of microemu is released)

M       JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/lcdui_extension/DfMForm.java


3) This is most important:

A         DictionaryForMIDs/src/de/kugihan/dictionaryformids/translation/normation/NormationEpo.java

I need this to be able to use the dictionaries.


If you could do a new Android build released to Market with 3) included I would be very gratefull, as I could instruct Esperanto speakers to download it and ZIP files with the dictionaries.
If not, could you do a build and instruct me on how to install it on other user's phones?


Thanks,
Jacob


axin

Hi Jacob

Quote from: jn0101 on 29. April 2010, 16:11:00
3) This is most important:

A         DictionaryForMIDs/src/de/kugihan/dictionaryformids/translation/normation/NormationEpo.java

If you could do a new Android build released to Market with 3) included I would be very gratefull, as I could instruct Esperanto speakers to download it and ZIP files with the dictionaries.
If not, could you do a build and instruct me on how to install it on other user's phones?

I just committed the normation and pushed the updated version 0.12 (including Esperanto localization) to the Market.

Currently I don't have the JavaME source set up, but I guess Gert will have look as soon as he has a minute (@Gert...).
Could you post some steps on how to support microemu and how to create the jnlp files? Or refer me to the relevant documentation?

I really appreciate your work!
Achim

jn0101

Quote from: axin on 30. April 2010, 10:02:47
Hi Jacob

Quote from: jn0101 on 29. April 2010, 16:11:00
3) This is most important:

A         DictionaryForMIDs/src/de/kugihan/dictionaryformids/translation/normation/NormationEpo.java

If you could do a new Android build released to Market with 3) included I would be very gratefull, as I could instruct Esperanto speakers to download it and ZIP files with the dictionaries.
If not, could you do a build and instruct me on how to install it on other user's phones?

I just committed the normation and pushed the updated version 0.12 (including Esperanto localization) to the Market.

Ive downloaded it, thanks.



Quote from: axin on 30. April 2010, 10:02:47
Currently I don't have the JavaME source set up, but I guess Gert will have look as soon as he has a minute (@Gert...).

I have the sources up and running, so no need to publish a new J2ME version now, as people should be able to install straight from my test site (http://javabog.dk/filer/paroj/).
The problem was that Android apps are is not easily installable from other places than the Android market.




Quote from: axin on 30. April 2010, 10:02:47
Could you post some steps on how to support microemu and how to create the jnlp files? Or refer me to the relevant documentation?

See http://www.microemu.org/microemu-webstart/index.html

For JAD URL: http://wintermute.de/wap/extended/5ud0ku.jad
just point to:  http://microemu.org/webstart/wintermute.de/wap/extended/5ud0ku.jnlp
Replace bold part of URL with anything.

For example for http://javabog.dk/filer/paroj/eo-en/DictionaryForMIDs_eo-en_lernu.jad
I link to http://microemu.org/webstart/javabog.dk/filer/paroj/eo-en/DictionaryForMIDs_eo-en_lernu.jnlp

If you prefer running as applet instead of web start (see http://www.microemu.org/applet.html) there is a bug:
http://code.google.com/p/microemu/issues/detail?id=45&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Reporter%20Stars
which requires you to change this code before it will work:

Index: JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/DictionaryForMIDs.java
===================================================================
--- JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/DictionaryForMIDs.java  (revision 271)
+++ JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/DictionaryForMIDs.java  (working copy)
@@ -57,7 +57,7 @@
                       
                        // check for supported MIDP version
                        String supportedMidpProfile = System.getProperty("microedition.profiles");
-                       if (supportedMidpProfile.indexOf("MIDP-2.") == -1) {
+                       if (supportedMidpProfile != null && supportedMidpProfile.indexOf("MIDP-2.") == -1) {
                                // if MIDP 2.0 is not supported, then the application will not run
                                utilObj.log("MIDP 2.0 not supported by the device.\n" +
                             applicationName + " will not run correctly !");


Gert

Wow - I am really very much impressed !!   :)  :)  :)

@Jacob, I gave you Developer status here in the forum, now you have access to the "Internal discussions" forum under "Admins & Developers". I will post more there soon.

With best regards,
Gert

Gert

Ok, now here my next few remarks:

-> The MicroEmu-app looks great !


Quote1) Updates to include Esperanto in the J2ME GUI:
M       JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/uidisplaytext/UIDisplayTextContents.java
M       JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/uidisplaytext/UIDisplayTextItems.java
M       JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/uidisplaytext/DictionaryForMIDs.languages

Great, would you please just commit these updates to SVN (now you have the access rights).



Quote2) An update that will make DfM work with microemu.  See
http://code.google.com/p/microemu/issues/detail?id=44&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Reporter%20Stars
The update should be deleted in 6 months (when a new version of microemu is released)

M       JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/lcdui_extension/DfMForm.java

That is DfMForm.java only, right ? Or also DictionaryForMIDs.java ?
Would you do me a favour: could you just add are remark to that line that you entered/modified (sort of "// introduced cause of MicroEmu; to be removed after xxx") ?


Quote3) This is most important:

A         DictionaryForMIDs/src/de/kugihan/dictionaryformids/translation/normation/NormationEpo.java

Just a minor point: could you include your name (or 'identification') in the file header ?

And: could you update that web page:  http://dictionarymid.sourceforge.net/newdictNormationLang.html ? Well, just a question  ::)

Best greetings :)
Gert

jn0101

Quote from: Gert on 01. May 2010, 01:07:14
Quote1) Updates to include Esperanto in the J2ME GUI:
M       JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/uidisplaytext/UIDisplayTextContents.java
M       JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/uidisplaytext/UIDisplayTextItems.java
M       JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/uidisplaytext/DictionaryForMIDs.languages

Great, would you please just commit these updates to SVN (now you have the access rights).

Here you are
http://dictionarymid.svn.sourceforge.net/viewvc/dictionarymid?view=rev&revision=279


Quote from: Gert on 01. May 2010, 01:07:14
Quote2) An update that will make DfM work with microemu.  See
http://code.google.com/p/microemu/issues/detail?id=44&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Reporter%20Stars
The update should be deleted in 6 months (when a new version of microemu is released)

M       JavaME/src/de/kugihan/dictionaryformids/hmi_java_me/lcdui_extension/DfMForm.java

That is DfMForm.java only, right ? Or also DictionaryForMIDs.java ?
Would you do me a favour: could you just add are remark to that line that you entered/modified (sort of "// introduced cause of MicroEmu; to be removed after xxx") ?

Done: http://dictionarymid.svn.sourceforge.net/viewvc/dictionarymid?view=rev&revision=278

Quote from: Gert on 01. May 2010, 01:07:14
Quote3) This is most important:

A         DictionaryForMIDs/src/de/kugihan/dictionaryformids/translation/normation/NormationEpo.java

Just a minor point: could you include your name (or 'identification') in the file header ?

And: could you update that web page:  http://dictionarymid.sourceforge.net/newdictNormationLang.html ? Well, just a question  ::)
[/quote]

Done :-)

Gert