Cannot install Dictionary for MIDs English-Chinese

Started by mingxun, 09. August 2009, 21:33:29

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mingxun

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

Gert

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

mingxun

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

Gert

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

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


mingxun

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

Gert

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

Gert

I just tested the file download from 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


Gert

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

mingxun

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

Gert

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

Gert

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

parrotfly

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

Gert

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

parrotfly

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

Gert

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.

Gert