Hello Mark, > First of all, one part of my application was a library shared by > several mobile applications I made. Adding the library to the project > makes it compile properly but it doesn't run. The classes of the > library don't make it into the 'deployed' directory so I get an error > it can't load the required classes. I couldn't figure out how to fix > this apart from adding the classes manually. You have to check the lib in the tab Project->Properties->Java Build Path->Order and Export. Before of course you must add it to Libraries.
> Another problem I have is with the device defintion I use. When I use > the Sony WTK version 2.5 I get a stack-overflow when using the P910 > definition. It works fine wih DefaultColorPhone and it used to work > fine with the P910 some years ago. Here's what I get: > > at com.sun.kvem.ScreenImpl$DefaultDisplayUpdatePolicy.updateFace > (ScreenImpl.java:599) > at com.sun.kvem.ScreenImpl.updateFace(ScreenImpl.java:463) > at com.sun.kvem.ScreenImpl.updateComponent(ScreenImpl.java:494) > at com.sun.kvem.ScreenImpl.access$100(ScreenImpl.java:33) > at com.sun.kvem.ScreenImpl$DefaultDisplayUpdatePolicy.updateFace > (ScreenImpl.java:599) Maybe you call repaint() inside a paint() method? Try implementing your paint() as a synchronized method. You could share your sourcecode, so one can take a look at that. > There's obviously infinite recursion going on that doesn't pass any > of my code. Anyone any idea how I'd debug such a problem? Should I > try to get the older Sony WTK I used to use? As far as i know I had been working with the Sun WTK without problems. Does the error occur if you youse another phone instead of P910? I used a W950. > Thirdly a minor problem. When adding devices in the 'Device > Management' I first added the devices from the Sun WTK and then the > ones from the Sony-Ericsson WTK. My project kept telling me the > JAVAMELIB could not be located. Somehow I had trouble telling it how > to point to a library of the WTKs I installed. I then noticed the Sun > devices weren't there anymore. Adding them once more and some more > trial and error suddenly the library was there again. This bewildered > me a bit, I'm not sure what was going on there. After updating the devices you must update your project-settings to reflect the changes. Did you choose this phone in the run-parameters (J2ME tab)? :-) Markus -- ********************************* [EMAIL PROTECTED] http://www.psitronic.de psitronic IT-Solutions Markus Sinner W-Rathenau-Str. 14 - 68642 Bürstadt Tel.: (+49)6206 / 963513 Fax: (+49)6206 / 963514 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users
