Thursday, January 14, 2010

MicroEmulator 2.0.4 has been released

New MicroEmulator version has been just released. This is mostly a bug fix release, all users of older versions are encouraged to perform an update. Here is a direct link to download MicroEmulator 2.0.4

Most of new features development is happening in our development branch since beginning of 2009. Those features are supposed to be released in 3.0 version. More information about that will be published soon. Stay tuned.

44 comments:

  1. Jonathan,

    Here is a link for the changelog:
    http://www.microemu.org/changes-report.html#a2.0.4

    ReplyDelete
  2. Very nice work!
    But with 3D games more troubles.. =(

    ReplyDelete
  3. not nice work, with media!
    game with sound, don't run.

    ReplyDelete
  4. Vu,

    If you are interested fixing your multimedia playback problem, write some more details on: http://groups.google.com/group/microemulator-support or file a bug: http://code.google.com/p/microemu/issues/list

    ReplyDelete
  5. How can I download files in opera min by microEmulator.

    Ashraf

    ReplyDelete
  6. Hi Bartek,

    I come upon micro emulator while doing some research on running our j2me applet in a browser.

    I have a question on creating http connection.
    It was mentioned in microemu.org
    that "By default the applet will only communicate with the host the applet came from (your website)"

    Do you mean that if the midlet will communicate with the "host", then i dont need my midlet to be sign?

    Declaring something like:

    Please shed me my some light.

    Will be checking your blog regularly. Hope to hear from you.

    Regards,
    iamjenie

    ReplyDelete
  7. Hi All,

    I tried to convert the sample UIDemo project comes with Sun Wireless toolkit by changing the below properties in the build.xml




    Also changed the jar path to UIDemo.jar and finally was able to compile and got the UIDemo.apk in Bin folder of microemulator-2.0.4\microemu-android\bin , But when I installed this apk in Android Emulator and Device and tried to run the application.
    It did not run and it displayed the Title for some time and then nothing happend and blank UI got displayed. I tried the same steps with Games sample also. What could be the reason ?.

    ReplyDelete
  8. khalif,

    There should be more information in the emulator logs. What's a error on the logcat console?

    ReplyDelete
  9. Dear Bartek,

    Thanks for the immediate response. I have logs with me , How can I attach this file ?.

    Please see part of log below.
    /InputManagerService( 57): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@43d3cc68 (uid=10027 pid=213)

    W/ActivityManager( 57): Activity idle timeout for HistoryRecord{43c4a168 org.microemu.android.example.pushpuzzle.PushPuzzle/org.microemu.android.MicroEmulator}

    D/dalvikvm( 213): GC freed 13700 objects / 512112 bytes in 224ms

    I/ActivityManager( 57): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=example.pushpuzzle.PushPuzzle/org.microemu.android.MicroEmulator }

    I/ActivityManager( 57): Start proc example.pushpuzzle.PushPuzzle for activity example.pushpuzzle.PushPuzzle/org.microemu.android.MicroEmulator: pid=225 uid=10026 gids={3003, 1015}

    D/ddm-heap( 225): Got feature list request

    V/MicroEmulator( 225): implementation registered [org.microemu.cldc.file.FileSystem]

    V/MicroEmulator( 225):

    V/MicroEmulator( 225): error Message: Error: Unable to find MIDlet class, java.lang.ClassNotFoundException: example.pushpuzzle.PushPuzzle in loader dalvik.system.PathClassLoader@43d01a20 java.lang.ClassNotFoundException: example.pushpuzzle.PushPuzzle in loader dalvik.system.PathClassLoader@43d01a20

    V/MicroEmulator( 225):

    V/MicroEmulator( 225): java.lang.ClassNotFoundException: example.pushpuzzle.PushPuzzle in loader dalvik.system.PathClassLoader@43d01a20

    V/MicroEmulator( 225): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)

    V/MicroEmulator( 225): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)

    V/MicroEmulator( 225): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)

    V/MicroEmulator( 225): at org.microemu.app.Common.initMIDlet(Common.java:1012)

    V/MicroEmulator( 225): at org.microemu.android.MicroEmulator.onCreate(MicroEmulator.java:210)

    V/MicroEmulator( 225): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

    V/MicroEmulator( 225): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)

    V/MicroEmulator( 225): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)

    V/MicroEmulator( 225): at android.app.ActivityThread.access$2200(ActivityThread.java:119)

    V/MicroEmulator( 225): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)

    V/MicroEmulator( 225): at android.os.Handler.dispatchMessage(Handler.java:99)

    V/MicroEmulator( 225): at android.os.Looper.loop(Looper.java:123)

    V/MicroEmulator( 225): at android.app.ActivityThread.main(ActivityThread.java:4363)

    V/MicroEmulator( 225): at java.lang.reflect.Method.invokeNative(Native Method)

    V/MicroEmulator( 225): at java.lang.reflect.Method.invoke(Method.java:521)

    V/MicroEmulator( 225): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)

    V/MicroEmulator( 225): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

    V/MicroEmulator( 225): at dalvik.system.NativeStart.main(Native Method)

    I/ActivityManager( 57): Displayed activity example.pushpuzzle.PushPuzzle/org.microemu.android.MicroEmulator: 2175 ms (total 2175 ms)

    It says unable to fine midlet class.

    ReplyDelete
  10. khalif,

    As you can see in logs, the problem is missing example.pushpuzzle.PushPuzzle class.

    The group forum can be a better place to continue this discussion: http://groups.google.com/group/microemulator-support

    ReplyDelete
  11. tropanxtig,

    That's exactly true. If your applet is contacting with the same server that was downladed from, then your applet doesn't have to be signed.

    ReplyDelete
  12. I tried it with a Go Bible app.
    After selecting Go Bible Menu| Preferences | Full Screen : On, MicroEmulator could not get back from Full Screen mode.

    ReplyDelete
  13. Hi Bartek,

    with regards to my question above i have added the tag below:

    param name="URL" value="http://demo02.utiba.net:8082/jme/test"

    to the html file. But i still cannot connect by http.

    By adding this tag on the html does the emulator automatically know that the applet is downloaded from here and all connection here should be permitted?

    Any other info i need to add. my application is unsigned and needs to connect to http. as u mentioned since i will be connecting to my "home server" i wont' be needing the signing.

    Please help

    thanks

    ReplyDelete
  14. Hi Guys,

    still cannot get my http connection to work

    see above post

    any help will be appreciated.

    Thanks

    ReplyDelete
  15. DFH,

    Issue database is the best place to report such a problem: http://code.google.com/p/microemu/issues/list

    ReplyDelete
  16. tropanxtig,

    You have to manually specify the correct url inside the MIDlet code. Or you can use the trick explained in the last section on the page: http://microemu.org/applet.html

    ReplyDelete
  17. RE: connecting by HTTP

    i did the following to no avail:
    1. add
    param name="microemu.accessible.host" value="http://mycompany.com/"
    to the HTML file

    2. add
    microemu.accessible.host: http://mycompany.com/

    to the MANIFEST and JAD file

    still i cannot get it to connect to my http server

    Please help badly needed

    ReplyDelete
  18. tropanxtig,

    You have to do the different thing. In your MIDlet, you have to call MIDlet.getAppProperty("microemu.accessible.host") and then use that URL to connect to the server.

    ReplyDelete
  19. I did declare the url from varied location(jad, manifest and the html file), all does not seem to work.I have used the following:

    (1) code in MIDLET:
    String myurl=midlet.getAppProperty("url");

    connection = (HttpConnection)Connector.open(myurl);

    add this line in my html file
    param name="url" value="http://myserver.com:8084/test"


    OPTION 2) code in MIDLET:

    connection = (HttpConnection) Connector.open(midlet.getAppProperty("microemu.accessible.host));

    Add this line in mmy html file :
    param name="microemu.accessible.host" value="http://myserver.com:8084/test"


    both these scenario still throws a security exception error.

    badly need help guys. thanks

    --

    ReplyDelete
  20. im doomed. this may be the simplest question. i need help

    thanks,

    ReplyDelete
  21. boltbrowser have problems with fonts in microemulator 2.0.4
    http://www.boltbrowser.com/dnld.html

    ReplyDelete
  22. Hi,

    I have an application which works very fine on microemulator.

    Then i convert it to .apk file and it works fine on android emulator as well.

    But it does not work on my htc ouch mobile and gives a message "the app. has stopped working,force close".

    Please help me solving my problem. What should i do?

    ReplyDelete
  23. MicroEMuLator can't Copy text on Opera Mini .. . why ??? and many problem in the text box when I input text .. .

    ReplyDelete
  24. Hi has anyone had any experience getting JSR226 (SVG) running on the emulator??

    Cheers

    Ed.

    ReplyDelete
  25. Eagerbvr,

    I'm afraid there is no support at all for JSR226 (SVG) in MicroEmulator.

    ReplyDelete
  26. I cant download this application and java on my at&t samsung phone A837. Pls help me out

    ReplyDelete
  27. I need help on java download and installation

    ReplyDelete
  28. Christ The Last Hope,

    It is not possible to run MicroEmulator on your phone. You can run Java ME midlets on your PC using MicroEmulator.

    ReplyDelete
  29. I do a hopefuly only one...
    Download feature of Operamini in microemulator the next version/release bro!

    ReplyDelete
  30. Hi dear Bartek, how my Operamini jar can download a file from this MicroEmulator, u need your help

    ReplyDelete
  31. @Bartek: good project, thanks for sharing..

    ReplyDelete
  32. D/InputReader(18881): AP_PROF:AppLaunch_dispatchPtr:Up:113245990
    V/MicroEmulator(23536): java.lang.ClassNotFoundException: org.microemu.cldc.sms.Connection
    V/MicroEmulator(23536): at java.lang.Class.classForName(Native Method)
    V/MicroEmulator(23536): at java.lang.Class.forName(Class.java:265)
    V/MicroEmulator(23536): at java.lang.Class.forName(Class.java:212)
    V/MicroEmulator(23536): at org.microemu.microedition.io.ConnectorImpl.openSecure(ConnectorImpl.java:136)
    V/MicroEmulator(23536): at org.microemu.microedition.io.ConnectorImpl.access$200(ConnectorImpl.java:51)
    V/MicroEmulator(23536): at org.microemu.microedition.io.ConnectorImpl$1.run(ConnectorImpl.java:81)
    V/MicroEmulator(23536): at java.security.AccessController.doPrivileged(AccessController.java:213)
    V/MicroEmulator(23536): at org.microemu.microedition.io.ConnectorImpl.open(ConnectorImpl.java:76)
    V/MicroEmulator(23536): at org.microemu.microedition.io.ConnectorAdapter.open(ConnectorAdapter.java:50)
    V/MicroEmulator(23536): at javax.microedition.io.Connector.open(Connector.java:49)
    V/MicroEmulator(23536): at de.run(Unknown Source)
    V/MicroEmulator(23536): at java.lang.Thread.run(Thread.java:1052)

    ReplyDelete
  33. magicmumy,

    Most likely you need to include the lib/microemu-jsr-120.jar into your classpath.

    ReplyDelete
  34. hi Bartek Teodorczyk, thanks for sharing MicroEmu .. OperaMini perfectly runs on it but unable to perform downloads .. i can use the same JAR in my NOKIA and make downloads .. will there be any releases that this function will be available?

    ReplyDelete
  35. bilopo,

    Here you find more details how to enable downloads:
    http://my.opera.com/ariesptn/blog/2008/11/17/enable-opera-mini

    ReplyDelete
  36. Microemulator's guys ! As an user, i think that Copy&paste "to" and "from" OS clipboard could make a lot o things easer. As a non-US user, i think that "support for abnt2 keyboard" may be useful, too. Because "operamini/microemulator" isn't good enought to "email", for example. Then, in general, i use it for just browse. And to email, i use "OperaMobile for Deskop". But i love operamini inside microemulator. It is just so free of lags, etc. Good work.

    ReplyDelete
  37. I am try opera mini 7, its work..

    but how to copy paste from/to clipboard or something like notepad

    ReplyDelete
    Replies
    1. Ctrl+c in notepad
      Ctrl+v in microemulator text field

      Delete
  38. Incredible!!! Thank You!!! Opera Mini 7.1 worked on this emulator.... It was an alternative way besides using KEmulator.... KEMulator doesn't work on my windows 7.. Keep up this good work... And I hope there
    will be update for java games like Gameloft in the future.. :)

    ReplyDelete
  39. Nice work here, but this is funny because it doesn't run any app on my system anymore, even with the new version of java installed on my computer.

    ReplyDelete
  40. Thanks, dude. I have just found a CD-ROM with a J2ME game I wrote as a teenager. The emulators I've found on that CD were Windows-only and I don't have a Windows box. Your emulator saved the day and I could show my spouse my first commercially released game!

    ReplyDelete
  41. Recently a new multi-platform open-source J2ME emulator called freej2me has been released -- https://github.com/hex007/freej2me/

    Maybe you could share your experience with them? :)

    I will also leave this link here to the very important J2ME preservation discussion (to inspire you): https://www.reddit.com/r/emulation/comments/4o2er3/the_state_of_j2memidletjar_emulation_and_the/

    Regards

    ReplyDelete