Closed GoogleCodeExporter closed 9 years ago
Please, verify whether it is fixed in 3.0.0-SNAPSHOT:
http://snapshot.microemu.org/microemulator/download/
Original comment by bar...@gmail.com
on 17 Jun 2010 at 11:47
Works fine. But I have a problem with media in this snapshot.
stack trace:
Exception in thread "0" java.lang.NoClassDefFoundError:
javax/microedition/media/Player
at
=== cut place ===
Caused by:
org.microemu.app.classloader.MIDletClassLoader$LoadClassByParentException:
javax.microedition.media.Player
at org.microemu.app.classloader.MIDletClassLoader.findClass(MIDletClassLoader.java:339)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at org.microemu.app.classloader.MIDletClassLoader.loadClass(MIDletClassLoader.java:213)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 6 more
There is no media api in this snapshot. I just copied
javax/microedition/media/**/* package to this snapshot's jar. Then
org/microemu/midp/**/* and replaced the org.microemu.MIDletBridge class in the
same jar. Source classes have been got from SNAPSHOT-2.0.5. After this :) the
midlet has started to work (first view of drawRGB() method "told" me it's able
to be more optimized).
Is it custom build without media api support?
PS! Thanks a lot for your help.
Original comment by mightysk...@gmail.com
on 17 Jun 2010 at 12:42
This method doesn't take into account the graphics translation
(graphicsInstance.getTranslateX() and graphicsInstance.getTranslateY()). I just
noticed it. Have forgotten to mention this above. It's the problem too...
Original comment by mightysk...@gmail.com
on 17 Jun 2010 at 1:08
To have access to the javax.microedition.media.Player you have to include
lib/microemu-jsr-135.jar
Please file a new bug for graphicsInstance.getTranslateX() and
graphicsInstance.getTranslateY() issue
Original comment by bar...@gmail.com
on 18 Jun 2010 at 6:19
Thanks for info. I made new bug report with demo example (defect #57).
Original comment by mightysk...@gmail.com
on 18 Jun 2010 at 7:24
Fixed in trunk, future 3.0 version
Original comment by bar...@gmail.com
on 18 Jun 2010 at 7:39
Original issue reported on code.google.com by
mightysk...@gmail.com
on 17 Jun 2010 at 9:17