(keitai-l) Re: i-mode class files and emulators

From: Harry Behrens <Harry_at_Behrens.com>
Date: 01/29/01
Message-ID: <003f01c089c4$403c68b0$0400a8c0@winter2000>
Dear Rolf,

> i'm confused...
> what piece of the puzzle is preventing you from making a midlet that
> you can run on an actual phone?
> (excuse my ignorance of the intricacies of java compilation)
>

The emulators offer class files that have the exact same signature
(interface) as the DoCoMo specs provide, however the actual implementation
(the byte code) is DIFFERENT from the actual byte code within the keitai
itself.

> it seems that once you get your compiled java code running on
> an emulator,
> you would be ready to try it on a real phone, no?
>

No: the interface is the same so all programs that ONLY USE  (i.e. refer to)
the com.nttdocomo.* classes are portable (with recompilation though). But as
they refer to 'wrong' byte code they will not work once loaded into the
keitai itself:
The byte code for  com.nttdocomo.ui.IApplication.start() will be different
for the emulator and the actual DoCoMo-released class.

I hope that clarifies things,

	Harry Behrens

	[excessive quoting removed]



[ Did you check the archives?   http://www.appelsiini.net/keitai-l/ ]
Received on Mon Jan 29 09:14:12 2001