[kde-edu]: Learning vocabulary on the road / Questions about KVTML2

Michael Hofer kde.edu at unglaublich.priv.at
Sun Jan 20 16:17:52 CET 2008

Hello Frederik!

On Sun, 20 Jan 2008 11:36:12 +0100, "Frederik Gladhorn"
> Wow, I have to find out, if my old crappy phone supports that :) Any tip
> how 
> to do that?

Every JavaME-enabled device that supports at least CLDC-1.1 and MIDP-2.0
should work in theory (most modern phones). If there is enough request,
it might be possible to backport the app to CLDC-1.0/MIDP-2.0 (there are
a few phones supporting only this combination). A backport to older
devices (MIDP-1.0) is unlikely at the moment.

You can see which standard is supported by your phone in the specsheet
on the (developer-)website of the vendor - for example:

- Sony Ericsson:
- Nokia: http://www.forum.nokia.com/devices/matrix_all_1.html
- General overview:

Java implementations for the phones of these / the big (european)
vendors should be pretty good. I've read somewhere that devices from
Korean manufacturers might tend to have low quality Java implementations
(at least the Java runtimes bundled for the European market), but I
don't have any experiences with them.

The main limiting factor for loading big KVTML files is the maximum heap
size of the device. I can't tell you exact numbers for the memory
requirements of my program yet (and there might be potential for
optimizations), but i.e. on my K610i I had no problem to load and use
the file from http://www.floyd-online.com/Download/de-uk-es-ar2.kvtml
(2.3MB / around 1900 entries in several languages).

You can find out the max. heap size supported by devices in this table:
http://www.club-java.com/TastePhone/J2ME/MIDP_Benchmark.jsp (see the
columns "Size of heap" - or probably more relevant "Maximum memory
granted to TastePhone").
(My K610 seems to have between 5 and 6 MB available to java apps.)

There's one more requirement: If you want to load KVTML files from the
local filesystem of your phone, it has to support the "PDA Optional
Packages" extension (JSR 75). The only other option implemented at the
moment is to access the file per HTTP (this should work on all phones).

> Still, I'd like to get some help with the xml stuff because that is the
> most 
> comfortable way to get printing usable.

I actually tried to do that in the first place, but realised that I
don't have enough clue about the whole topic of XML transformation /
representation. So, until I find some time to learn more about these
topics (I fear that won't happen too soon), I can't be much of a help
there - sorry.
[List of KVTML2 changes]
> (Yes, I have a list of changes I'd do to kvtml3 but that's not going to
> happen 
> for a year or two at least, so no worries there ;) )

Thanks for the information. (relieved to hear that ;-)

> Bug here. Should change... could you file a bug report (bugs.kde.org) so
> it 
> doesn't get lost?

Filed. (https://bugs.kde.org/show_bug.cgi?id=156240)

Thank you very much,

More information about the kde-edu mailing list