Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Gert

#796
I just tested it on the Nokia Series 40 emulator: it works !

You will also get a NullPointerException when the dictionary was not found (well, agreed, a good message to the user should show up here instead of a NullPointerException ...).

And of course the version of the dictionary should be checked to ensure that it is >= 2.5.0.

On your Nokia you may have to give a path like "file:///C:/predefgallery" instead, could you try that also ? I don't know Nokia's Series 40 well enough on that point.

Besides, I just received the source code for a 'directory chooser' - if that is getting integrated in the DictionaryForMIDs source code, this will help a lot !

Greetings,
Gert



#797
Sorry, I forgot to document the following: you must pick a dictionary with version 2.5.0 or higher ! The older versions do have a different file format. Sorry again, I need to update this description on the web page.

I did do a test of the version that you downloaded with the emulator that is included in Sun's WTK - and it worked. I am pretty sure it should work on your Nokia also !

Actually, I do have a Series 40 Nokia around also, but I did not yet have time to test.

Gert
#798
I just quickly removed some a few files from the JAR-File and updated the download-files. It is now a 122 kB file. You can try again.

Thanks for being a patient tester !

Gert
#799
Hmmm, ok, I work on a smaller version !

Thanks for testing !!

Gert
#800
Oh, understand !!

I placed a new version at
http://www.kugihan.de/dict/download/test_versions/jsr75/DictionaryForMIDs.jad
http://www.kugihan.de/dict/download/test_versions/jsr75/DictionaryForMIDs.jar

That version is still 171 kB, but I guess it should run on your 6103 (in the past the JAR file limits that were documented by Nokia usually could be exceeded quite a bit).

Actually, a pure JSR75-version (aka 'loadable dictionary'-version) would be even smaller, but I first have to write a few scripts. Please just try the 171 kB-version above.

Thanks for testing !
Gert
#801
I just created a first test version of 3.1: you can download it at
http://www.kugihan.de/dict/download/test_versions/DictionaryForMIDs.jad
http://www.kugihan.de/dict/download/test_versions/DictionaryForMIDs.jar

This is a 'DictionaryForMIDs_empty' version (even if the file names do not contain the 'empty').

Would be great if you could do a test on your 6103 !

Gert
#802
Oh, that's great if you want to test the 'Loadable Dictionaries' !

DictionaryForMIDs 3.1 is delayed, mainly because of problems with SonyEricsson cell phones. Still, hope that we can do a test release of 3.1 'soon' (whatever that means ...). Just stay tuned ;)

Best greetings,
Gert
#803
Colleagues,

I commited the following changes to CVS:

1.
Renamed package de.kugihan.dictionaryformids.hmi_j2me to de.kugihan.dictionaryformids.hmi_java_me
Note: you will have to change the MIDlet-1 property to define the start class to de.kugihan.dictionaryformids.hmi_java_me.DictionaryForMIDs

2.
Renamed project J2SE to JavaSE (actually, the project JavaSE is newly created and the old project J2SE will be deleted).

3.
Included the sources for DictionaryForMIDs on PCs from Stefan in the JavaSE project. There I also renamed the package de.kugihan.dictionaryformids.hmi_j2se to de.kugihan.dictionaryformids.hmi_java_se.
[right now the CVS-'DictionaryForMIDs on PCs' does not run because I first need to merge some changes in UtilWin]

4.
Updated build.xml script in the Build project: this new build script also generates both the Java ME and the Java SE version of DictionaryForMIDs.

If anything is broken after this change, please complain ;)

I plan to write a description on our web pages for using CVS and the build file.

Regards,
Gert
#804
Problems / Re: help.. really..
01. March 2007, 19:44:36
Yes, there was a problem on some Motorolas with long application names. That problem was solved somewhere around version 2.7.

@yobo: did you try a few different versions of DictionaryForMIDs ? Which ones did you try to install ?

Gert
#805
Oh, that's a good information !

Well, ok, so, still, hmmm ... what do we do about this ??

Probably a bug in the SonyEricsson firmware ? But when does the problem exactly occur ? And what do we do, adding a second 'blind' workaround (a workaround that seems to help but we don't know why), i.e. deactivating the StartupDisplay on SEs ?? And a third workaround after some more development ? Would be great to know what really makes this error occur !

Gert
#806
Open Talk / Changed the forum
28. February 2007, 08:29:48
Dear DictionaryForMIDs Colleagues !

We changed our forum system ! The forum link on our homepage now points to our new forum.

Stefan did set up the new forum – this new forum provides several useful new features and a nice look&feel ! And most of all: the new forum system does not have all the problems of the old forum system.

Unfortunately you need to register again at the new forum. Hey, don't complain, this new forum we will have for the next 100 years ;)

I did manually copy a few of my old postings from the old forum to the new forum. If you like to 'save' a posting from the old forum, you need to do this also (sorry for the inconvenience).

Why we did change the forum system ? Well, we had several problems with the old forum: the biggest problem was that for some users the registration at the forum did not work; we also had problems with spam users, missing UTF-8 support, insufficient notifications, and more.

So now please enjoy our new forum and do a lot of postings !!

With best greetings,
Gert

P.S.: in case you want to look at the postings in the old forum, here is a link to the old forum: http://tinyurl.com/yvdvo4
#807
Colleagues,

just let me try to summarize the problems that many SonyEricsson cell phone models have:

1. OutOfMemoryError and workaround in MainForm.java
The past versions (3.0 and 2.x) had this OutOfMemoryError for which a workaround was implemented (see at the end of MainForm.java). Unfortunately this workaround does have side-effects that may be annoying for the user (for example, depending on user settings, the info-sound is played after each search).

This OurOfMemoryError does not occur on the P-Series. The workaround is activated for all SonyEricsson cell phones except for the P-Series.

Beyond the P-Series, the OutOfMemoryError does not occur on (older ?) T-Series and some K-Series (probably other series also), depending on the firmware version.

2. Workaround does not work any more in 3.1. development version

Sebastian reports that the current 3.1 development version does not run any more on his W700. With the on-device debugger he also detected that there is a problem with closing InputStreams, see http://developer.sonyericsson.com/thread.jspa?threadID=38384&tstart=0.


This problem is blocking the release of the 3.1 version !!! Any support to track down and resolve this problem will be hightly appreciated !

I personally believe that there is a bug in the SonyEricsson firmware that causes this problem. In any case, we need to find out under which conditions this problem occurs, and how we can work around the problem.

Best greetings,
Gert
#808
Users of a Windows Mobile 2005 PDA with the Intent Java from Tao reported that the error "Invalid Java Archive" is shown during installation of DictionaryForMIDs.

The version of the Tao Java that is affected by this problem is "Runtime MIDP 2.0: v10.1.7.546(Build 20051117)".

Who can investigate in this problem, i.e.
- check with which versions of DictionaryForMIDs the error is shown
- possibly try to narrow down the problem (under which conditions does the error occur)
- submit a bug report to Tao

Besides, Tao has a useful forum, and there is already a posting on the "Invalid Java Archive", see http://forum.tao-group.com/viewtopic.php?t=122.

Thanks !
Gert
#809
Please be accurate for the following copyright considerations:

1.
For new dictionaries, please check that a reference to the dictionary owner/source and a copyright notice is included in the infoText property . If appropriate, a file with the copyright statement for the dictionary needs to be included in the zip package.

2.
Also for new dictionaries, please check that the DictionaryFormMIDs README and COPYING files are included in the zip package.

3.
Note that sourceforge only hosts 'open' SW. So on sourceforge we can only offer downloads for 'open' dictionaries (concerning the definition of open, you can read more at the sourceforge pages).

4.
DfM can be used with non-open dictionaries, for example a dictionary where the free distribution is restricted to private users only. Such a dictionary must not be hosted on sourceforge. But it is ok to host the dictionary on any other server and to provide a link from the sourceforge download page.

5.
We must not tolerate copyright violations: neither for dictionaries nor for the DfM application itself !

Happy work with DictionaryForMIDs !!
Gert
#810
I need to have an implementation for an algorithm that does sorting and filtering of duplicate entries of a Vector.
I have an (unsorted) Vector with objects of 'SomeClass'. The elements of the Vector need to get sorted. Also, if in the Vector two (or more) identical objects exist, then only one shall remain there, the other occurences shall be removed from the Vector.

Of course the algorithm should efficient. For sorting the quick sort algorithm should be fine.

I can provide a method such as compareTo in SomeClass, or whatever method is needed for the comparision of the entries.

I do need an implementation for Java ME (CLDC/MIDP), please don't point me to existing features of the Java SE Collection framework.

Anyone who can provide me with an implementation ?

Thanks !
Gert