DictionaryForMids Forum

DictionaryForMIDs for Mobiles (Java ME; most devices from Nokia, Samsungs, RIM (Blackberry), LG, SonyEricsson, Motorola and plenty more) => Problems => Topic started by: mingxun on 09. August 2009, 21:33:29

Title: Cannot install Dictionary for MIDs English-Chinese
Post by: mingxun on 09. August 2009, 21:33:29
I have a Samsung Eternity (SGH-A867) cell phone. I tried to install Dictionary for MIDs English-Chinese through www.getjar.com web site using my cell phone. Each time after I clicked the download button, I would get an error message saying "Incorrect description". I want to see if anyone has seen that message? What does that mean and how to get around it? Thanks

Ming
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 10. August 2009, 07:39:20
Version 3.2 solved a problem that Motorolas had with the description file; maybe your Samsung has the same problem with the description files.

Could you please test the latest version of DictionaryForMIDs: I suggest you test the DictionaryForMIDs_3.3_EngTagSpa_CAL. On the download page, select the file DictionaryForMIDs_3.3_EngTagSpa_CAL.zip, download it, extract the Jad file and the Jar file and install the Jad/Jar file on your device.

If that version works, then your Samsung has problems with the pre-3.2 description files.

Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: mingxun on 16. August 2009, 00:01:25
I tried installing DictionaryForMIDs_3.3_EngTagSpa_CAL.zip and got the same error message. Not sure what that means. Let me know what else I could try. Thanks. Ming
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 16. August 2009, 06:10:35
It may require some loops until we found the reason of your problems, but in the end we will find the reason and we will be able to solve the problem !

So, here is the next test that I would ask you to do:

Please download this file:

http://www.kugihan.de/dict/download/test_versions/3.4testversion1/DictionaryForMIDs_3.4.0_test%20version%201_empty.zip (http://www.kugihan.de/dict/download/test_versions/3.4testversion1/DictionaryForMIDs_3.4.0_test%20version%201_empty.zip)

Then from the zip file extract the file DictionaryForMIDs.jar and try to install that file DictionaryForMIDs.jar (not the DictionaryForMIDs.jad file).

Regards,
Gert

Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: mingxun on 16. August 2009, 23:48:12
I got the same error. This is how I did the installation. I unzip your zip file, upload the jar file to http://rumkin.com/tools/sprint/upload.php After uploading, it would show a jump code. And then I pointed my browser to http://rumkin.com/tools/sprint/jump.php and provide the jump code. It then started installing. I was able to install other applications using this way. But I just could not install Dictionary for MIDs English-Chinese. Thanks for your help.

Ming
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 17. August 2009, 06:16:16
Ok, thanks for testing !!

I have 2 questions:

1.
Is there a possibility that you install your application directly from the PC, for example via Bluetooth, or maybe an USB cable ? I do not know how this works for your Samsung, but usually for the mobiles there is something like an "Application Installer" or similar for PCs.
The reason why I am asking this, is that in the past there had been download server that modified the manifest.mf descriptor file in order to include the server's address etc., and these download servers made a mistake in the modification so that the file manifest.mf became incorrect.

2.
I was searching for the error "Incorrect description" on Samsungs, but I could not find an explanation. Is "Incorrect description" precisely the error text, letter by letter ?


And a last:
3.
I will prepare another test version. You say that you have been successfully installing other applications, so we will be able to narrow down the reason. It will take me some time to prepare this test version, once I have it, it would be great if you could install it.

Thanks !
Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 17. August 2009, 19:24:31
I just tested the file download from http://rumkin.com/tools/sprint/upload.php (http://rumkin.com/tools/sprint/upload.php): as expected (see point 1 from my posting above), this server generates a screwed Jad-file.

Please do me a favour, and report this bug to the server admin: they are not correctly handling the 'continuation lines' from the Manifest file (typical beginners error  :'( ).

Gert

Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 17. August 2009, 19:39:20
And now I tested GetJar: similar problem again ! The continuation line of the Manifest is not correctly handled, but GetJar has a different bug than http://rumkin.com/tools/sprint/upload.php.

Ok I will write an error report to GetJar, cause I already did send them a couple of error reports in the past (I was one of the first developers who used GetJar to host Java ME applications).

Please could you send an error report to the admins of http://rumkin.com/tools/sprint/upload.php ?

Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: mingxun on 29. August 2009, 04:59:49
I got a question from Tyler Akins of Rumkin.com:

Do you have an example of a broken JAD and a working JAD file?  I'm wondering what element in the JAD files is too long to fit on the 72-character line.

Gert,  Can you help?

Thanks
Ming
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 30. August 2009, 11:13:32
An example for a broken Jad file ?  The Jad file that is downloaded from the DictionaryForMIDs-application is broken.

It is the line with the Midlet-1 that is broken, here is an example how it should look like:

MIDlet-1: DictionaryForMIDs, /icons/Application/DictionaryForMIDs.png, de.kugihan.dictionaryformids.hmi_java_me.DictionaryForMIDs


It all fits on one line - no line break after 72 characters !

And they obviously just used the MIDlet-1 entry from the Jar manifest.mf file, which is broken into a second line after 72 characters (for beginners: the file manifest.mf in the Jar file does not have the same format as the Jad file).

Just send them the file DictionaryForMIDs.jar. Tell them to look at the file MANIFEST/MANIFEST.MF. Look at he entry for Midlet-1. And tell them that for the Jad file the entry for Midlet-1 must be in one line. You can send them the file DictionaryForMIDs.jad as an example for a correct Jad file.


Anyway, I thank you very much for following up on this problem ! :) :)

Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 13. September 2009, 20:16:01
After some email exchange with GetJar folks, now it seems that they have their bug fixed. So if anyone wants to try the OTA download (i.e. direct download on the cell phone), just let me know if it works. But be sure that you have a download flatrate (or similar) for your cell phone before you try the download.

Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: parrotfly on 17. September 2009, 22:47:59
Hi Gert:

I am using Samsung SPH A620 and can not install English-Chinese, but I try the DictionaryForMIDs_3.3_EngTagSpa_CAL. It is working. So maybe my phone has the problems with the pre-3.2 description files?. Could you show me how can I fix it?

Many thanks
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 18. September 2009, 07:01:10
Can you please describe exactly how you did try to install the dictionary. Please also give exactly the version/file that you did try to install.

And what is the error message (letter by letter please, so that we can search the Samsung documentation for this error message).

Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: parrotfly on 18. September 2009, 07:39:27
Thanks Gert:

I download

DictionaryForMIDs_3.1.2_ZhEng_cedict2.zip

and unzip to file to DictionaryForMIDs_ZhEng.jar and DictionaryForMIDs_ZhEng.jad

then by using QPST-EFS Explorer to connect my Samsung SPH-M620  copy above two files to file fold "temp->install" see link is the way how I install it

http://www.howardforums.com/archive/topic/1206237-1.html

I use the same way to install the test dictionary
DictionaryForMIDs_3.3_EngTagSpa_CAL.zip
it is working perfect

but for the English -Chinese. failed and no error message. please help me!

Thanks
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 18. September 2009, 19:47:21
Hmmm, I could not read all those descriptions at the link that you sent me. Just one question: is this the 'normal' way to install applications ? I mean are you using standard tools from Samsung for installing the application ?

Well, no error message is not good  :(

I just tried to find some technical information for the SPH-M620 such as the maximum supported Jar file size. Unfortunately I did not find any useful data.

You could test the old 2.7 version of CEDICT, which you still can download at http://www.kugihan.de/dict/index.htm (http://www.kugihan.de/dict/index.htm).

Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: parrotfly on 18. September 2009, 21:21:23

Thanks Gert

Yes!
I can install and run the old one you give to me, but the problem is the old one requires cell phone/PDA with a Chinese character set. so I have no chance to see the chinese without Bitmap font.

I am not sure SPH-M620 the maximum supported Jar file size will cause trboule, but I have experiece when I try to install size more than 10M Jar file, it will give me error messge over the max size, but for the one I download from here, when I install, there is no such error message to show me Jar file is too big

Thanks again for your help
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 18. September 2009, 21:36:19
I am really not sure what there is the problem with the installation. It really would be useful if there was any error message.

Well, I hope that soon there will be a release of an updated CEDICT for 3.4.0 so that you can test that version.

Regards,
Gert

Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: parrotfly on 18. September 2009, 22:58:26
Hi Gert:

I try to install the

DictionaryForMIDs_3.2.0_EngJpn_EDICT-P.zip
entries: 22,617

It install successful and I can run it. But the program can not show the Japanese only blank.

for the
DictionaryForMIDs_3.2.0_EngJpn_EDICT.zip
entries: 120,179

I failed and error message is "Disk space not sufficient"

but for the
DictionaryForMIDs_3.1.2_ZhEng_cedict2.zip
I can copy both unzip file into my cell phone
Shared->Jas->temp->install
folder successfully no error message, but after I restart the cell phone, it doesn't install it. Do you have other version with Bitmap chinese font support?

Thanks
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 19. September 2009, 08:03:50
Well, hope Lars can make a new version with an upadted CEDICT soon.

In meantime I can try to create a 'quick-and-dirty' 3.4.0-version with the old CEDICT from 3.1.2. Hope I can find a few minutes for this.

Gert

Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 19. September 2009, 09:00:08
I just created a 'quick&dirty' version of the old 3.1.2 CEDICT with version 3.4.0; this is really just a version that you can test; the 'official CEDICT for 3.4.0' with the latest CEDICT will be done by Lars.

Here is the link: http://www.kugihan.de/dict/download/test_versions/3.4.0/CEDICT_from_312/DictionaryForMIDs_3.4.0_CEDICT_old.jar (http://www.kugihan.de/dict/download/test_versions/3.4.0/CEDICT_from_312/DictionaryForMIDs_3.4.0_CEDICT_old.jar)

Let me know if this version works for you.
Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: pRinCesS on 20. September 2009, 23:15:54
hi.....
i use nokia 7390,,,but the dictionary cannot work in my phone,,it said "invalid application"....
i try to install from this link : http://www.kugihan.de/dict/download/test_versions/3.4testversion1/DictionaryForMIDs_3.4.0_test%20version%201_empty.zip
and it can work,,,but there is no dictionary loaded.....
i think the application bigger than 1mb cannot work in my phone.....but,,,i really need english-chinese, chinese-english dictionary,,,,so can u help me to fix it???maybe u can make the size smaller??please reply me as soon as possible.... :D
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 21. September 2009, 20:00:19
Did I understand correctly: the 'empty' version works, but the one at http://www.kugihan.de/dict/download/test_versions/3.4.0/CEDICT_from_312/DictionaryForMIDs_3.4.0_CEDICT_old.jar (http://www.kugihan.de/dict/download/test_versions/3.4.0/CEDICT_from_312/DictionaryForMIDs_3.4.0_CEDICT_old.jar) cannot be installed ?

Hmmm, "invalid application" is very strange; I think there should be a message such as "application too large" or similar if the application is too big.

I just checked the Nokia specification: the 7390 has a Maximum JAR Size of 512 KB - well the old S40 problem ...

The "Loadable dictionary" feature would solve your problems, but we still have no certificate for DfM, so using the "Loadable dictionary" feature will be disappointing for you for the moment. You can read more about this at http://dictionarymid.sourceforge.net/faqLoadableDictionaries.html (http://dictionarymid.sourceforge.net/faqLoadableDictionaries.html).

Or, a smaller dictionary should work also. You could email Lars and ask if he has a suitable dictionary.

Regards,
Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: parrotfly on 22. September 2009, 00:32:58
Thanks Gert

could you please create the *.jad file for me to test the "quick&dirty" version for the one you post

http://www.kugihan.de/dict/download/test_versions/3.4.0/CEDICT_from_312/DictionaryForMIDs_3.4.0_CEDICT_old.jar

without *.jad, I can not install on my Samsung SPH-M620

Thanks lot
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: pRinCesS on 22. September 2009, 12:39:41
thank you for ur information, Gert.....
i tried loadable dictionary,,,but i don't like it bcoz it shows so many messages.....
btw,,,,who is Lars???sorry,,,i'm new.....can u give me his email??thx again  :)
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 22. September 2009, 19:11:51
@parrotfly: sorry, there is no Jad-file for this 'quick&dirty' version.

According to the MIDP specification, each device must be able to install a Jar-file alone, without Jad file. Maybe somehow there is a way to install the Jar-file on your Samsung ?

Regards,
Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 22. September 2009, 19:14:43
@pRinCesS: Did I understand correctly: the 'loadable dictionary' work on your cell phone, but all the confirmation messages are so disturbing. Is this correct ?

For the email address of Lars, just see the Contributor list on our web page.

Regards,
Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: pRinCesS on 24. September 2009, 06:03:04
thank you Gert for your help and the information.... ;)
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: MIDs2009 on 24. September 2009, 20:02:17
hi Gert,

i cannot get the dictionary to open also.  this is what i did.  i tried dictionaryforMIDs_3.3.0 on my samsung s5230, i got a message "OUtof memory".  so i tried the new 3.4.0.  I put the jar file without the dictionary file, jad file and dictionary directory with dictionary files in it.  all three in one folder.  after i ran the jar file, it appears to be ok but i went to the setting to set the dictionary path, i used the browse function to point to my dictionary directory and restart the MIDs again but i still get a "No dictionary loaded".   Please help.  the reason i bought the phone just for this purpose, if it is cannot be used, it is really too bad.  thank in advance.
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 24. September 2009, 20:24:53
@MIDs2009:

Question 1: When you try install the Jar file at http://www.kugihan.de/dict/download/test_versions/3.4.0/CEDICT_from_312/DictionaryForMIDs_3.4.0_CEDICT_old.jar (http://www.kugihan.de/dict/download/test_versions/3.4.0/CEDICT_from_312/DictionaryForMIDs_3.4.0_CEDICT_old.jar), then you get during the installation an "Out of memory" error. Is this true ?

Question 2: So you were trying the "loadable dictionary" ? Is this true ?

Question 3: For the loadable dictionary, did you install the 3.4.0 'empty' version that you can download at http://dictionarymid.sourceforge.net/newdict.html#SetupJARUpdate (http://dictionarymid.sourceforge.net/newdict.html#SetupJARUpdate) ?

Question 4: When you selected the directory with the browser, what is the content of the path ? Please write the exact path  (must be something like file://....)

Question 5: What is the path where you copied the 'dictionary'-directory on your phone ?


Sorry, for all those questions, please don't be angry about this. I just like to know everything that will help me to know what goes wrong.

Thanks in advance for your answers.
Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: MIDs2009 on 24. September 2009, 20:58:55
don't worry Gert, i will try to answer all the question.  Sorry about the wrong comment i had last time with version 3.3.0.  in fact i got the message "java error. no memory available"

answer2. yes

answer3. i did download the 3.4.0 empty version with only 329K, it download ok.  when i ran it it is also ok except no dictionary.

answer4and5.  i put the "dictionary" in external memory card, MUSIC,3.4.0,  when i used the browse function, it came out like this "file:///Mmc/MUSIC/3.4.0/dictionary"  after that i hit apply, exit the application and start the application again but i still got the "No dictionary loaded" on the top.

i put an empty version in 3.4.0 folder, also jad file in that folder and dictionary in 3.4.0 too.  all this is under MUSIC directory in the external memory.

i hope i clear up thing for you.  Please don't hesitate to ask me more questions.  thanks.
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: MIDs2009 on 25. September 2009, 07:43:55
Hi Gert,

i found the problem for my "No dictionary loaded".  i got the path wrong.  Actually it is easy to make that mistake.  i think that's why many others have the same problem. 
I should have the path "file:///Mmc/MUSIC/3.4.0" instead of "file:///Mmc/MUSIC/3.4.0/dictionary" .  So you see I thought the dictionary is a directory so i included in the path.  so dictionary is a file.

For those of you who had the same problem i have, here what i have done:
all the previous versions don't have the browser function to find your path file, so i suggest you to download version 3.4.0 which is given by Gert in this thread.  Also version 3.4.0 don't have a dictionary file so it is quite small so your mobile phone can accept and run it.  i think you already have a dictionary file from previous version already.  BTW, the browser is not so great but it will do the job.  After you selected one directory and another and another but it doesn't give you stop and let you hit "Apply".  so what you should do is after you browse you path, you can write it down and go back and key in in your phone.    So here we go:

1. i copy mids_3.4.0.jar, mids_3.4.0.jad, dictionary and put in one folder called 3.4.0  (some phones don't require jad file, but if you require jad file, you can download a program called "JadMaker" so you can create your own jad file.) i had a JadMaker_1.15 but i dont know how to attach it here.
2. i then copy this folder to SD card or you can copy it to your phone memory
3. i go to the phone and run mids_3.4.0.jar file, it ran perfect and has no error except the "no sign" which is no big deal, just continue.
4. now came the part where i had struggle for 2days.  Create the right path for the application to load the dictionary.  you can create your path "file:///directory1/directory2/etc.../ and stop right here, DON'T name the last directory "dictionary".  that was my mistake, i thought dictionary was a directory so i include dictionary in my path so i can read the files inside the dictionary, but doing that don't work.  If your phone ran the jar file ok and has "no dictionary loaded" then the only problem is to set your path correct.

i hope this help.......keep posting if you have problem........i will try to help if i can.
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: t_rain on 26. December 2009, 20:39:54
Hi forum!

First of all thanks to all the good people here that made all the effort to let us use this great application on our mobile phones.

I just want to report my problems with the current version of the English-Chinese version of dictionarymid - i hope there is someone that can help me out here.

Phone
Samsung s5230 (bought in china, so there is chinese input available)

The problem:

I first downloaded: DictionaryForMIDs_3.4.0_ChiEng_CEDICT.zip from the download section. Installing went smoothly, but then when starting the application there is an error message like:

JAVA ERROR
invalid Format


That's all. no more debug output.

The same problem with the somehow "patched" file from GERT :
http://www.kugihan.de/dict/download/test_versions/3.4.0/CEDICT_from_312/DictionaryForMIDs_3.4.0_CEDICT_old.jar

The only thing that runs is the "empty" version, without any dictionary. So i installed the empty version and downloaded the dictionary file (cedict_ts.u8) directly from http://www.mdbg.net/, to be specific it was the following file:
http://www.mdbg.net/chindict/export/cedict/cedict_1_0_ts_utf-8_mdbg.zip

Then i transfered the dictionary file to my mobile phone (to the internal memory) and started the application. As expected it says "No dictionary loaded", so i went to settings and tried to get the path to the dictionary file right.

But exactly here is the problem, whatever i tried, nothing worked. Then i read the somehow related post: http://dictionarymid.sourceforge.net/forum/index.php?topic=150.msg855#msg855 But still, i didnt get it working, i just copied the dictionary file into a folder called "cidian" and then tried to set the path for the dict file to:

"file:///Internal memory/cidian"

But no effect, still the old "no dictionary loaded" problem. Does anyone know if this is the correct path for the Samsung S5230 phone model, or what do i have to enter in the dictionary path?

I hope there is someone out there that can help me and get this great and useful app finally running on my samsung.

Cheers,
t_rain
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 27. December 2009, 08:41:05
Thanks for you excellent problem description - this is very good example for a problem report !! It really helps us so much to have a good problem description with clearly identified device, jar file version and error messages !

Let me try to answer you in two parts.

1. "invalid Format" on your Samsung s5230

I 'googled' for that problem on the s5230. It seems that several people did run into this problem on the s5230 with different applications, and in some forums people write about 'solutions' for this. However I am not sure which of those are true solutions.

Just to be sure that nothing went wrong during the installation process: could you deinstall the DfM application (if it should be installed on your s5230) and then install only the file DictionaryForMIDs_ChiEng_CEDICT.jar. You need to extract that DictionaryForMIDs_ChiEng_CEDICT.jar file from the file DictionaryForMIDs_3.4.0_ChiEng_CEDICT.zip.


2. Installation of CEDICT as a 'loadable dictionary'

You need to copy the file DictionaryForMIDs_ChiEng_CEDICT.jar on your s5230. Do not copy the mdbg file, because DictionaryForMIDs does not recognize the file format of the mdbg file.

I recommend that for 'loadable dictionaries' you use the following DictionaryForMIDs version: http://www.kugihan.de/dict/download/testversions/3.5development2/DictionaryForMIDs.jar.

Let me know about your progress !

Best regards,
Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: t_rain on 27. December 2009, 10:41:27
Hi Gert,

@ 1
I did exactly as you exlained, but no result, still the same "JAVA ERROR, invalid Format". I know that i have to install the *.jar file... Seems to be a Samsung specific problem then...

@ 2
The file you gave me works fine, at least the empty dictionary. And i extracted the *.jar file, transfered it to my mobile.
The only problem that i still have is that i can' tell the application where the dictionary file is.
I tried the following in the Dialog -> Settings -> Dictionary path:

"file:///Internal memory/DictionaryForMIDs_ChiEng_CEDICT.jar"
or
"file:///Internal memory/"
or
"file:///"

none of them worked.

I think the problem is that i have no clue how they call the "root" directory of the phone memory on the samsung. I copied everything to the phone memory, and in the "Pc Studio" software from samsung it says like that the phone memory is referred to as "Internal memory".

Can anyone help here? What path do i have to enter...

Thanks in advance,
t_rain
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 27. December 2009, 11:16:18
@1
Maybe you can google for that problem; there are several recommendations for solving this in other forums, but I did not find an obvious solution. Maybe there is simply a file size restriction in your s5230 phone, and the error message is misleading.

@2
Just use the 'file system browser' that is available in DictionaryForMIDs. When you set the focus in the "Dictionary path" field, then there will be a menu item called 'Browse' (or similar, I just do not recall the label). Selecting this function will start the file system browser that was contributed by Joshua Koo. You can then select the file DictionaryForMIDs_ChiEng_CEDICT.jar and the path name will be correctly set to whatever your Samsung cell phone uses.

Best regards,
Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: t_rain on 27. December 2009, 20:39:59
Hi,

with your suggestion in @2 i could manage to first install the empty version of the dictionary, then use the browser to point to the *.jar file with the dictionary and finally start the application.

But there are still remaining issues:

issue #1
The browser looks nice, but on my samsung S5230 phone it loads the filesystem only every second, or third time i restart the phone. That is somehow strange. So if there is anyone else using this samsung out there, pls try to reproduce that.

issue #2
After pointing to the DictionaryForMIDs_ChiEng_CEDICT.jar in the browser, i restart the application. Restart the phone (just to be sure).

Then start the application. The first screen with the user-data question appears after 5 seconds or so, BUT the Start Window with xy Chinese entries and xy English entries shows up after more than 2 minutes. That is way to much for my understanding. When i enter a search-word, it takes another 2 minutes or so to finally display the following

(...max nr of hits reached)

All in all, it somehow works to manually point to the dict file, but i can't look up words. Besides it is way to slow. I tried the other direction (Chinese to English) too, but the same result, i.e. no result...

So i hope my error report somehow helps. I guess the S5230 is an extremely popular phone nowadays, so I strongly hope that someone can find a solution for the remaining problems.

@ Gert, what are your ideas?

It would add so much value to my phone, if i could run this application!

Thanks a lot in advance,
t_rain
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 27. December 2009, 23:04:21
Your postings are VERY valuable, because these postings give us hints where there are still problems and how to improve the 'loadable dictionary' feature of DictionaryForMIDs.

Issue #1: if I remember correctly then Joshua's file system browser does load the initial directory during startup of DictionaryForMIDs. You write that even after a restart (= reboot in my understanding) of your phone you do not see the updated files ???. Very strange.


Issue #2:
QuoteAfter pointing to the DictionaryForMIDs_ChiEng_CEDICT.jar in the browser, i restart the application. Restart the phone (just to be sure).

Restarting DictionaryForMIDs is currently required (will not be required once development of loadable dictionaries will be completed), no restart of your phone should be necessary.

QuoteThen start the application. The first screen with the user-data question appears after 5 seconds or so, BUT the Start Window with xy Chinese entries and xy English entries shows up after more than 2 minutes.

During startup there should be a few confirmations that you need to do ('user-data question' as you call it), which is due to the missing certificate. Does it take a long time after each confirmation, or is there a single long waiting time after the last confirmation ?


QuoteWhen i enter a search-word, it takes another 2 minutes or so to finally display the following
Could you do the following test: can you enter a word that results only in one translation (or very few translations), and tell me how long it takes to translate. Please do not use wildcards when you test this.

Quote
Besides it is way to slow.

Ok, so the direct access to the jar file is much too slow on the S5230; this is interesting for me to know, cause it means that for the future development we need to give priority to the automatic unpacking of the jar files (roughly something similar to Achim's implementation for the Android platform may be done there one day). [as a side comment: before I will do any implementation work on the automatic unpacking, I first want that certificate topic to be solved.]

Short term, in order to solve your 'way too slow'-problem, you need to manually unpack the files of the .jar file and put them on the file system. You will see that all response time problems will be gone then - I assume  so 8).

Can you please look at http://dictionarymid.sourceforge.net/faqLoadableDictionaries.html (http://dictionarymid.sourceforge.net/faqLoadableDictionaries.html), section "Alternative 2: extract the dictionary files from the JAR-file (faster)". And then please let me know if that works for you.

Best regards,
Gert
Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: t_rain on 28. December 2009, 12:16:50
@ Issue #1

To make it clear. On my samsung the filebrowser does not show any filesystem for most of the time. When i restart (reboot) the phone, i can see the filesystem of the phone - but not always. Anyway imho i can live with that, as we have to set the path for the dictionary only once. But issue #2 is the nitty-gritty in here.

@ Issue #2

In my previous post, i couln't translate any word, not even the most simplest one with only a few translation results.

This time i used the German-Chinese version of \DictionaryForMIDs_3.1.2_ChiGer_HanDeDict, as it seems that the jar file is smaller here, so i can transfer it faster to the mobile device.

So i used 7zip (7zip.org) to decompress the jar file and tried transfered all the 1.430 files to my phone. Takes ages too. and after about 1000 files tranfered i get the error message: "Max entry exceeded" from the smasung "new pc studio". Maybe i try to organize a miniSD card and try it there again...

All in all, i'm giving up on dictionarymid for now. i don't have enough time to install, deinstall, and so on. I like the idea of the project but my time is really limited, so i might try some of the future versions of dictionarymid.

It would be nice if someone can keep me updated regarding a working version for the samsung S5320.

cheers,
t_rain


Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: Gert on 28. December 2009, 14:39:37
Ok, in any case thank you for your useful postings !! Yes, the 'loadable dictionaries' are still in the "experimental" stage, and the fundamental certificate problem is still not solved (i.e. there are lots of confirmation messages because DictionaryForMIDs does not have a certificate from a commercial company such as Verisign).

Too bad that the Samsung S5320 seems to be very limited in the capability to run big Jar-files.  For me it seems the S5320 just is not able to run a big Jar-file directly, for example the famous CEDICT dictionary !

Hey, maybe people just should keep asking Samsung to remove their restriction for big Jar-files, then their cell phones will run DictionaryForMIDs as it is, without any struggling with 'loadable dictionaries' !!   :P

Best regards,
Gert

Title: Re: Cannot install Dictionary for MIDs English-Chinese
Post by: t_rain on 30. December 2009, 01:38:23
*update*

I finally go the dictionary working on my samsung S5230.

In short the steps are:

1) get an mini SD memory card (i couldn't transfer the unpacked jar file with the samsung new pc studio to the internal phone memory, as there seems to be a strange number of files restriction. Further it seems that the S5230 cannot handle big jar files, that's why you have to unpack the jar file)
2) unpack the *.jar file of the dictionary on your computer
3) transfer the unpacked *.jar file to your mini SD memory card (don't use samsung's tool, use an SD adapter and your cardreader)
4) install the "empty version" of the dictionary
5) reboot the phone
6) run the empty dictionary and go to "Settings->Dictionary -> Browse" and point to the directory where you copied the unpacked *.jar file to
7) run the dictionary and have fun ;)

Thanks to all the good people for all the work with the dictionary! it's a great piece of software...

cheers,
Thomas