[Midpath-general] JSR075 root
Brought to you by:
guillaum1
From: Simon K. <sim...@gm...> - 2007-12-03 16:57:39
|
Hello MidPath developers! I've downloaded MidPath 0.2 to use as a development platform for my Cibyl environment (http://cibyl.googlecode.com). One test involves reading files with the JSR075 FileConnection API, and in the sun emulator you can specify where the root filesystem(s) are (like on a real mobile phone). Can you do this with MidPath as well? Right now I just get '/' as option when listing root filesystems. Another issue I've had is seemingly random crashes when pressing keys - the midpath-test.sh crashes for example. I guess this might be because of some problem with the eclipse JAR, I had to add /usr/lib/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.2.1.v3235.jar to the classpath in midpath-test.sh to avoid this error: java.lang.NoClassDefFoundError: org/eclipse/swt/events/KeyListener at javax.microedition.lcdui.DisplayEventHandlerImpl.initDisplayEventHandler (DisplayEventHandlerImpl.java:135) at com.sun.midp.main.BaseMIDletSuiteLauncher.launch (BaseMIDletSuiteLauncher.java:141) at com.sun.midp.main.BaseMIDletSuiteLauncher.launch (BaseMIDletSuiteLauncher.java:92) at org.thenesis.midpath.main.StandardMIDletLauncher.launch (StandardMIDletLauncher.java:78) at org.thenesis.midpath.main.StandardMIDletLauncher.launchAndClose (StandardMIDletLauncher.java:72) at org.thenesis.midpath.main.StandardMIDletLauncher.main (StandardMIDletLauncher.java:62) I also get this (or similar errors) when running Cibyl applications, e.g., http://cibyl.googlecode.com/files/CibylTest-2007-10-27.jar (when pressing keys). I'm running Debian etch. -- // Simon |