DictionaryForMids Forum

DictionaryForMIDs for Mobiles (Java ME; most devices from Nokia, Samsungs, RIM (Blackberry), LG, SonyEricsson, Motorola and plenty more) => Problems => Topic started by: cdict fan on 04. November 2007, 05:19:14

Title: Error with Chinese Dictionary on Moto L7
Post by: cdict fan on 04. November 2007, 05:19:14
I had previously used the DFM 2.7.0 on my Moto L7 and liked it a lot even though it is a bit slow and does not show a number of characters due to the accent issues.  I downloaded the recent update 3.1.2 and tried to install it on my moto, but received an application error.  All it says is application error does not install at all.  I kept my old version on the phone so no real loss, but getting a version that would show all the characters would be nice.
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 04. November 2007, 08:42:24
Hmmm, somehow there seem to be problems with some Motorolas with the 3.1.2 version.

Could you test any other 3.1.2 version, such as a dictionay from the "All free dictionaries project" (these use 3.1.2) ? Just to check whether the problem is related to the 3.1.2 Java application or the CEDICT dictionary.

Greetings,
Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: cdict fan on 08. November 2007, 15:00:01
Hi Gert:

I will give a try and let you know.
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 30. December 2007, 05:30:51
Ah here it is... my problem exactly.  I have a Motorola K1 KRZR and I'm in the exact same situation.  The 2.7.0 version works perfectly and the 3.1.2 version says "Application Error".  I wouldn't mind normally but I'm trying to create a new dictionary (which is by default in the 3.1.2 version) and it also won't work...  Can someone please look into this??  How much could have changed between versions to make it not work?  Shouldn't be too difficult as far as I figure... but what do I know?  Please help!!!  Thanks so much!!

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 30. December 2007, 10:38:29
Hallo Ryan !

Hope you are finally the long searched person who can do some tests on his Motorola phone to narrow down the problem :)

Actually, I think we should be able to track down the problem rather quickly.

Please keep my mind up to date: when exactly does this "Application Error" occur ?

Could you try to install the 'empty' version of DfM on your phone, just to see if the error is there also ?

Thanks,
Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 30. December 2007, 15:11:04
Thanks for the help!

I tried to install the empty DfM jar file 3.1.2 and had the same problem...  Here's the deal:

On my phone, I go to "Applications and Games" and "Install New" then select the DfM file from the list.
Then it gives me the summary:  Says the filename, version 3.1.2, made by Gert, etc.  Then I hit "Install"
Then it asks "Not a signed application. Continue anyway?" to which I reply "Yes"
Then it says "Installing..." but only for a split second...  because it almost immediately says "Application Error"
and then that's it... can't do anything else.  It kicks you out of the installation process.

Hope that helps.  What else can I do to help test?

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 30. December 2007, 15:17:33
Great -I mean not the error, but that you are supporting to find the reason of the problem !

I will build a few specific test versions of DfM, that you should try to install.

Will try to make those versions still today. I will do a posting here when I am done.

Thank you !
Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 30. December 2007, 15:36:57
Ok, here is the first batch of tests (I just had a few minuts of time):

For the tests, please only try to install the JAR file, do not install the JAD file.

1. http://www.kugihan.de/dict/download/test_versions/3.2pre-release3/DictionaryForMIDs.jar

2. http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_2/DictionaryForMIDs.jar

3. http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_3/DictionaryForMIDs.jar

Could you please try to install these 3 versions.

Version 2 and 3 will not run. I just want to know whether these install without Application Error.

Some more 'cycles' and we will have the reason of the problems.

Thank you !!!
Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 30. December 2007, 17:27:23
Hello again,

I tried all 3 of those jar files and none of them work.  They all respond in the exact same way 3.1.2 does - it quits during installation saying "Application Error".  I hope that helps to narrow down the problem.  Let me know if I should try any others.

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 30. December 2007, 19:45:11
Does help !!

I will have two more test versions - soon.

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 30. December 2007, 21:15:09
Next try:

4.  http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_4/DictionaryForMIDs.jar

5.  http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_5/DictionaryForMIDs.jar

Both versions have some variations in their manifest.mf file. Please tell me if any of those can be installed.

Thank you !
Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 30. December 2007, 21:36:37
Besides, here is what the MOTOKRZR K1 Java™ ME Developer Guide says about "Application Error":

QuoteInstallation Class references non-existent
class or method
Security Certificate verification
failure
Checksum of JAR file is not equal
to Checksum in MIDlet-JAR-SHA
attribute
Application not authorized
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 30. December 2007, 23:00:35
Okay I tried those 2 jar files and they don't work...  but it quits at an earlier stage with a different error message.

When I hit "Install New" and select the appropriate filename, it immediately says "Failed. Invalid File."  It doesn't even get to the summary screen that I could normally get to.

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 31. December 2007, 08:47:29
Not the result that I expected :(

Hmmm, probably I made an error with the icon reference in the manifest. Next version will be there soon :)

Thank you for your patience !

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 31. December 2007, 08:51:21
6.  http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_6/DictionaryForMIDs.jar

Please another test !

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 31. December 2007, 14:30:18
Hello,

Again, this file results in a "Failed. Invalid File" error message.

I don't know if this helps, but when trying to create my own dictionary, I noticed that if I used the JarCreator.jar file to create the jar files, the installation at least got to the "Application Error" stage.  But if I tried to edit an existing dictionary by opening it in WinRAR and replacing files, it said "Failed. Invalid File.".  So maybe that gives a clue.

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 31. December 2007, 15:55:34
Hmmm, that's a good hint from you. Normally it should be possible to add a dictionary with any ZIP tool. I don't know about WinRAR, but if it handles ZIP files, then this should work.

However it is important to drop the JAD file then, otherwise there will be an error (JarCreator does update the JAD too).

Did you only install the JAR file without the JAD file ?

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 31. December 2007, 16:05:45
Hi,

WinRAR does handle ZIP files as well as RAR files (obviously), JAR files, and many more types.

I don't really understand the JAD files...  When I copy those files to my phone, they don't show up in my list of applications to install.  If I copy both JAR and JAD files to my phone, then go to "Applications" and "Install New", I get a list of names with no file extensions... and only the JAR files seem to show up.  I don't know if the JAD files do something "in the background" when I install the associated JAR files or not.  I can't really tell.

Let me know what I can do to help.

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 31. December 2007, 20:36:11
Each phone handles installation of Java applications differently. Also whether and how they show the JAD files.

JAD files (JAva Description files) contain very similar information as the meta-inf/manifest.mf file in the JAR file. JAD files also contain the size of the JAR file, so when the JAR file is modified, then this size is incorrect.

Here is what the MOTOKRZR K1 Java™ ME Developer Guide says about "Failed: Invalid File":

QuoteJAD
Download
Missing or incorrectly formatted
mandatory JAD attributes
Mandatory:
MIDlet-Name (up to 32 symbols)
MIDlet-Version
MIDlet-Vendor (up to 32 symbols)
MIDlet-JAR-URL (up to 256
symbols) MIDlet-JAR_Size

That reads like a problem with the JAD file - which should not happen for the test versions because there is only a JAR file and no JAD file (those test versions don't need a JAD file).

I don't know how the installation on the Motorolas work. Is it possible that you _only_ provide the JAR file, no JAD file at all ?

Well, I will provide you with a JAD file for the last version, in case that makes your Motorola happy ;)

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 31. December 2007, 20:38:46
Here is the JAD file:

6. 
http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_6/DictionaryForMIDs.jar and
http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_6/DictionaryForMIDs.jad

Thank you for continuing testing !

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 31. December 2007, 20:51:01
OOPS - I just realize that I made an unbelieveably stupid typo !!! In the version number there is 3.2.o (letter o) instead of 3.2.0 !!

I can't remember that I made such a stupid type during the last 5 years :( :(

I believe this must have been the reason for the invalid file errors of the last versions. Hmmm, Sun's WTK emulator did not complain about the incorrect version number.

Well, if you did not yet lose confidence in my building of test versions ... I just updated the last version_6. Maybe you could give this another try ? Chances that it'll work this time are good ! :)

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 01. January 2008, 00:11:44
Well it's back to the "Application Error" message again, which is a little bit of an improvement, but back to the original problem.  So it must be something really fundamental between the 2.7.0 and 3.x.x that is causing the problem.

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 01. January 2008, 05:54:49
By the way, I just got my new dictionary up and running in the 2.7.0 version (I will convert to the 3.2.0 version when we figure this problem out) but I had a question about making or finding a Normation Class.  I made a new post:

http://dictionarymid.gottfried-signs.ch/index.php?topic=79.0

With your experience maybe you can help!  Thanks again!

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 01. January 2008, 08:47:24
We have a working version (2.7.0) and a non-working version (3.1), so it should be possible to narrow down and identify the reason why 3.1 is not working any more. It is just a question how many test loops this needs ...

I did update version_4 and version_5. If you could do a test again ... ?

4.  http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_4/DictionaryForMIDs.jar

5.  http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_5/DictionaryForMIDs.jar

These are JAR-files only again, no JAD file exists for those versions.

One question: after installing an applications on your Motorola, does the cell phone automatically start the application following the installation ?

Thanks for your enduring patience !

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 01. January 2008, 15:03:06
Both of those files result in an "Application Error" message, just like before.
Sorry!  :)
Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 01. January 2008, 20:46:05
Hmmmm, maybe the reason of the problem is something very simple, but honestly speaking right now I have no clue

Ha, I'll have another test version. Will be some more effort for this test version, so it may take some time.

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 02. January 2008, 03:38:16
7.  http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_7/DictionaryForMIDs.jar

Could you please test ...

That version will just display a "Test"-string. It _must_ install and run on your Motorola.

Thanks !
Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 02. January 2008, 14:28:22
Sorry!  Still doesn't work... gives me the "Application Error" message again.  It must be something really basic.  Is there a way to display this test string with the 2.7.0 version and see if that works?  I don't know... just trying to help.

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 02. January 2008, 14:39:19
Yes, it must be something very simple ! The version_7 has only a single class with a few lines of code that just print that test string; it does not contain the dictionary application at all.

Here is the JAR file from 2.7.0 'empty' that I have in my archive. Could you try to install that one:
8.  http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_8/DictionaryForMIDs.jar

It should install and then throw an exception because of a mission dictionary.

Must be really a small stupid problem ...

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 02. January 2008, 14:46:17
Hey Gert,

Yes that file installed perfectly.  When I ran it, it threw an exception - something about property file could not be opened.  But at least it installed.
What's the difference between the two jar files?

Very confusing...
Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 02. January 2008, 15:33:03
The exception was about the missing file DictionaryForMIDs.properties (the empty dictionary does not have that file), so that is fine.

Hmmmmmm, it really must be something very simple ... I checked the difference between the manifest files of 2.7 and 3.2, the 3.2 file seems to be ok. Well, I'll just try to adapt further to 2.7 (will be another test version ;) ).

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 02. January 2008, 15:41:47
This is the 3.2 "test" version built with the 2.7.0 manifest file (it'll say it is a 2.7.0).

9. http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_9/DictionaryForMIDs.jar

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 02. January 2008, 15:49:14
Hi Gert,

That jar file installed perfectly.  When I run it, it has "test" in the title, and "test test" displayed below it, and nothing else.

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 02. January 2008, 16:00:08
Aha !?!

Seems we are getting closer :)

So, let me think and find the next test version ;)

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 02. January 2008, 16:08:00
10. http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_10/DictionaryForMIDs.jar

Will it work ... ?

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 02. January 2008, 17:04:07
No.  This results in the "Application Error".  This is the first time I've seen it say "version 2.7.0" and it not work.

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 02. January 2008, 17:38:47
We are getting closer ... wait for the next test version !

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 02. January 2008, 18:02:29
11. http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_11/DictionaryForMIDs.jar

I'm step by step trying to find out which setting causes the Application Error. In version_11 I changed the line follwing line to the content of 2.7.0:

MIDlet-1: DictionaryForMIDs, DictionaryForMIDs.png, de.kugihan.dictionaryformids.hmi_j2me.DictionaryForMIDs

Could you please test ... ?

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 02. January 2008, 18:09:54
"Application Error" for v11
Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 02. January 2008, 20:45:30
12. http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_12/DictionaryForMIDs.jar

Version 12 requests MIDP-1.0 instead of MIDP-2.0.


13. http://www.kugihan.de/dict/download/test_versions/for_Ryan/version_13/DictionaryForMIDs.jar

Version_13 additionally has a different vendor string. Version_13 must install and run again.

Hope after version_12 / version_13 we understand which causes the problem !

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 02. January 2008, 21:06:11
version 12 - "Application Error"

version 13 - installed fine and runs with "test test" as before

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 02. January 2008, 21:22:02
Congratulations, we found the problem !!

Version_12 contains:
MIDlet-Vendor: Gert Nuber (dict@kugihan.de) et al.

Version_13 contains:
MIDlet-Vendor: Gert Nuber (dict@kugihan.de)

And after searching for some more, I found that on Motorlas the Midlet-Vendor can be a maximum of 32 characters. Unbelieveable that it cost us so much effort to find this as the cause of all problems. A clearer error message on the Motorola device really would have been helpful  >:( >:( >:(

Updated 3.2 (pre-release) will follow.

Gert

Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 02. January 2008, 21:27:40
Wow that's amazing!  Such a simple problem...  I can't wait to download the real 3.2.0 when it's up.  I want to use the DictionaryGeneration.jar and JarCreator.jar.  Will those be updated too?

Yes it would be nice if the phone didn't just say "Application Error".   How vague can it be?

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 02. January 2008, 21:35:42
The updated 3.2 pre-release:

http://www.kugihan.de/dict/download/test_versions/3.2pre-release4/DictionaryForMIDs_3.2.0_pre-release 4_empty.zip (http://www.kugihan.de/dict/download/test_versions/3.2pre-release4/DictionaryForMIDs_3.2.0_pre-release%204_empty.zip)

Should make millions of Motorola users happy :)

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 02. January 2008, 21:38:32
Nice...  thanks so much Gert!  So let me just clarify - you only needed to change the emtpy dictionary file?  So the DictionaryGeneration.jar and JarCreator.jar are the same... I just need to download the new "empty" file and use that in one of the fields of the JarCreator command line?

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 03. January 2008, 02:08:51
Well, let me thank you !!

This is a good example how we managed to solve a significant problem together. And it shows how much we from the DfM project are dependent on persons like you to provide their full support !!

Yes, you only need to use the new 'empty' file (hope that now it really works for you ;) . The version that I built for you is not yet an officially released version, but only a developer internal pre-release. I think we should work towards releasing that version as 3.2, which means that I will generally ask for testing of that version. Once testing is complete and did not unveil new problems, we can publically release it as 3.2.

Probably you will be the main tester on this 3.2 pre-release  :D

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 03. January 2008, 02:17:58
Besides, I would like to list you under the project contributors ! Is this ok four you ? Can we also post your email address there ?

Gert

P.S.: could you already successfully test the pre-release 4 version on your Motorola ?
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Cryme on 03. January 2008, 03:11:12
Hi Gert,

I don't mind being a tester at all.  But I should warn you that at times I can get pretty busy.  I'm starting work again next week.  But I'll do my best and I know it doesn't take much time to test out a few things.  Just send me an email whenever you have a testing request.  You can publish my name (Ryan Newson), but I'd prefer if you really need to publish my email address use rwnewson (at) hotmail.com   Also keep in mind that I only have one cell phone - my Motorola K1 KRZR (quite new).

I tested the prerelease4 version of 3.2.0 that you gave me the link for, and it seems to work perfectly.  I created my Cantonese dictionary with it and it's really good.  I used the same Normation and Update classes as CEDICT and they work great.  But I still would like the additional changes as I indicated in my other thread:
http://dictionarymid.gottfried-signs.ch/index.php?topic=79.0

I would ordinarily give you my dictionary to publish on your site (if you're interested) (Cantonese is Chinese, but quite different than CEDICT which is Mandarin only), but I can't take credit for the database.  I'll have to get permission from the author of the database I used.

Ryan
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 03. January 2008, 07:08:46
Ryan,

well, all of us are busy with job etc. We are supporting the DfM project on an 'as possible' basis. Sometimes it takes much longer to get a task done than we thought ;)

I just added your name at the contributors. I will add your Cantonese dictionary once it can be published at some place (hope the author will agree; besides, did you already read http://dictionarymid.gottfried-signs.ch/index.php?topic=8.0 ?).

As for testing: we do not yet have any formalized testing yet and we do not yet have specific test instructions. We would like to be sure that with a new version, there are no significant new problems (such as with the Motorola phones in 3.1 !). So before we release a new version, we are just asking people to check whether it works fine. I'll post such a general test request in the forum shortly (actually, I am rather busy starting right now). If you just 'play around' with your Cantonese dictionary on 3.2, that's good testing ! Äh, and please don't find any errors  :-X

Thank you again !!!

Gert



Title: Re: Error with Chinese Dictionary on Moto L7
Post by: bahathir on 15. January 2008, 02:39:16
Hello world. This is my first post.

I found this site/apps yesterday, and downloaded couple of dictionaries (EDICT and WordNET) from the link at download page. But it failed to run on my Motorola RAZR V3xx. It gave 'Application Error' and based on modifications in this thread discussions, I managed to run it.

Today, I managed to upgrade the dictionary 'core' part to the latest v 3.2 pre and it works PERFECTLY.

Here is the way how I did it. Note: I did it all in GNU/Linux Slackware.

1) Extract the original dictionary .jar file into a directory using unzip

$ mkdir work
$ cd work
$ unzip /path/to/dictionary.jar

2) Now replace the 'core' by OVERWRITE files from the empty v3.2-pre .jar

$ unzip /path/to/DFM/latest/empty/DictionaryForMIDs.jar


2a) You may edit META-INF/MANIFEST.MF to reflect your dictionary

3) Make .jar file a bit smaller, by optimizing PNG files using optipng. You may skip this part.

$ find . -iname \*.png | while read f; do optipng $f; done


4) Finally, zip files and sub/directories to a new jar.

$ zip -9rD /path/to/new/dictionary.jar .

5) Now, we are done, and transfer it to your mobile phone.

I also would like to share the screenshots from the phone.

(http://bahathir.googlepages.com/DFM_main.jpg) (http://bahathir.googlepages.com/DFM_input.jpg) (http://bahathir.googlepages.com/DFM_result_small.jpg)

Here I would like to share the modified dictionaries which works in my RAZR V3xx, based on this message.

http://bahathir.googlepages.com/DictionaryForMIDs_3.2-pre_WordNET.jar
http://bahathir.googlepages.com/DictionaryForMIDs_3.2-pre_EDICT.jar


BTW, my phone cannot manage to show all  Kanji/Japanese characters in EDICT because, my phone only have Simplified Chinese Character font/language pack.

TQ.
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 15. January 2008, 06:25:53
Wow, what a posting ! I am very much impressed !! Really !

Hey, maybe you would like to do the task to put all the other dictionaries on the latest version of DfM ?? This would be urgently needed ! See http://dictionarymid.sourceforge.net/needhelp.html  / "Maintaining dictionaries available with the latest version of DictionaryForMIDs".

On the Kanji fonts: Thanks to Sean (and Sebastian) DfM supports bitmap fonts. We just need to find someone who is setting up the bitmap font for EDICT then you will have Kanji on your Motorola. Maybe you would like ... bitmap fonts are documented at http://dictionarymid.sourceforge.net/bitmapfont.html

Your point 3) is also interesting.

Best greetings,
Gert

P.S.: Slackware, hmmm, reminds me about the 'good old days' when I still was hacking with Linux ...
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: leekohl on 28. July 2008, 10:09:14
I recently got a cast-off Moto Razr V3xx that I've been working on getting the DFM for Chinese working. Well, after several days of banging the thing against my head it worked, and all because of this post. I thought I'd add my experience to help others possibly on the same road.

I essentially did what Bahathir did; I used the info on http://dictionarymid.sourceforge.net/newdict.html#SetupJARUpdate (http://dictionarymid.sourceforge.net/newdict.html#SetupJARUpdate) though. The 'manual' way turned out to be the easiest, I don't see the point of messing about with yet more quirky programs.

1. download the (non-functioning) 3.1.2 Chinese dictionary
2. download the 'Empty' dictionary (again, from the site above)
3. rename both to .zip from .jar
4. open the former in explorer (other platforms may have to unzip, generally not preferable) and copied the 'dictionary' directory
5. paste said dictionary directory to some temp location and remove the 'fonts' file from within it. copy these two files now
6. paste the two files into the main dir of the 'Empty dictionary' zip file
7. rename the 'empty' dictionary back to .jar
8. Don't forget to adjust the 'size' line in the associated .jad file (came with the Empty dict). To make this the truly 'idiot's guide' version, open the 'properties' of the new dictionary you've created. Copy the 'size' line (not the 'size on disk'). Now open the .jad file in Notepad. The last line states the size. Paste yours over the existing one, and delete all commas spaces and other junk leaving only the numbers. Save and close.

I used MIDway 2.8 to upload the files to my V3xx. No more 'application error'! If you want more info, or the copies of the files in question feel free to reply. And a big thanks for Bahathir's brilliant yet amazingly simple idea! Bloody dictionary is fanplastic, it even shows trad/simp side by side. Damn nice.
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: Gert on 30. July 2008, 19:07:41
Great !

Hey, say, with all your knowledge, would you like to take the task "Maintaining dictionaries available with the latest version of DictionaryForMIDs" (see http://dictionarymid.sourceforge.net/needhelp.html) !!??

Gert
Title: Re: Error with Chinese Dictionary on Moto L7
Post by: edson on 12. January 2009, 22:58:16
Tried this solution in the normal V3 (without micro-sd slot), without success....
"Aplication error" always appear after successfull instalation using Midway 2.8..... tried with own dictionary with 3.3 and 3.2 versions.....

The 3.3 version of my dictionary is work fine in other cell phones (tested on: Moto V8, v360, z3, smartphone WM5 with esmertec java, pda WM3 with ibm j9 java, some LG, SONY and NOKIA phones)

In my zire 72 (PALM OS) with IBM j9 java, it works but randomly freezes with "Fatal Alert - MemoryMgr.c, Line: 2621 Chunk Over-locked" and I have to soft-reset my pda. Its always on the second ore third word i translate......

Also tried with the DictionaryForMIDs_3.2.0_pre-release 4_empty from here (with own dictionary and empty), but also had the application error..... 
I had sucess with a 2.7 version of a dictionary (DictionaryForMIDs_2.7.0_EngRom_Var) and DictionaryForMIDs_2.4.0_EngPor_IDP


I know that Normal V3 is CLCD 1.0. Is it the problem? What version os the dictionary would work in the v3 with CLCD 1.0 java?

Regards

Edson