Skip to main content

LWUIT on phoneME Advanced

5 replies [Last post]
phoneme2803
Offline
Joined: 2010-02-22

Hi, I have build a MIDlet that use Bluetooth (JSR82) and LWUIT.

I want to run it on my WinMobile 6.1 device with "phoneME Advanced" but :

I can run a midlet with bluetooth on "phoneME advanced" and I can run a LWUIT midlet on "phoneME Feature", BUT I can't run LWUIT and Bluetooth MIDlet on "phoneME advanced" because of classNotFound error (media package necessary for LWUIT not implemented on "phoneME advanced").

How can I do it? or what JVM use on windows mobile, that implement a full (with JSR82) CLDC VM ?

the MDR4 say that JSR82 is include in phoneME but I have found any binary "phoneME feature" that implement it

ps: I have use the phoneME advanced build on http://www.cs.kuleuven.be

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
davyp
Offline
Joined: 2007-01-03

There are indeed some optional LWUIT dependencies that are not supported on phoneME for
Windows Mobile, especially 3D support and some multimedia. Could you tell me which classes
are missing?

Davy

phoneme2803
Offline
Joined: 2010-02-22

the error tell me that the package "media" is not found

davyp
Offline
Joined: 2007-01-03

Which version of the phoneME Advanced dual stack VM did you use?

My latest builds have some media support with the last version being b154 (svn rev20331). Do
you still get the exception with that build?

Davy

phoneme2803
Offline
Joined: 2010-02-22

sorry but I have downloaded the b154 at this link :
http://www.cs.kuleuven.be/~davy/phoneme/public/dist/Foundation_Profile_M...

and there is no media package in the midp/midp_wince/classes.zip

If you want to be sure, try to run the LWUITDEMO from the LWUIT package downloadable on its home page.

PS : when we run an incompatible programme, there is some exceptions but it too speed to read there, and there are not standing on the screen. How to read this logs?

davyp
Offline
Joined: 2007-01-03

The classes.zip don't hold the classes of the specific jars. For the media package you have
to add lib/jsr135.jar to your classpath.

I am sure that LWUIT runs on phoneME Advanced. Here is a screenshot:
http://www.cs.kuleuven.be/~davy/phoneme/public/image/pmea_lwuit.png
In this screenshot, LWUIT runs on the dual stack for Windows Mobile 6.

I made a small FAQ at http://www.cs.kuleuven.be/~davy/phoneme/?q=node/27
that answers your question about logging the exceptions. Basically, you have to add
"-Xopt:stdioPrefix=/storage card" to get the output into OUT.txt and ERR.txt log files.

Davy