tag:blogger.com,1999:blog-2362966386931816429.post6616271094557495598..comments2023-03-25T10:37:23.446+01:00Comments on MicroEmu: Converting JavaME applications to the Android platform (revisited)Bartek Teodorczykhttp://www.blogger.com/profile/14895873725115124290noreply@blogger.comBlogger123125tag:blogger.com,1999:blog-2362966386931816429.post-13223228842729565212016-02-17T02:06:01.531+01:002016-02-17T02:06:01.531+01:00I've just configured my repository to be a lin...I've just configured my repository to be a linked github fork of the official repository.<br />Thank you, Bartek!Anonymoushttps://www.blogger.com/profile/05390321509752123727noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-87893297000329464062016-02-04T09:55:04.646+01:002016-02-04T09:55:04.646+01:00Did you fork the official MicroEmu repository:
htt...Did you fork the official MicroEmu repository:<br />https://github.com/barteo/microemu<br />?Bartek Teodorczykhttps://www.blogger.com/profile/14895873725115124290noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-62084708214663907052016-02-03T16:54:12.906+01:002016-02-03T16:54:12.906+01:00I created a fork of Microemu. It can be compiled w...I created a fork of Microemu. It can be compiled with Java 8 and supports latest Android SDK tools:<br /><a href="https://github.com/artem-frolov/microemu" rel="nofollow">https://github.com/artem-frolov/microemu</a>Anonymoushttps://www.blogger.com/profile/05390321509752123727noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-76978085918698264932013-11-09T18:21:59.081+01:002013-11-09T18:21:59.081+01:00Hello Bartek,
By the way, right after just post my...Hello Bartek,<br />By the way, right after just post my previous comment... I've gone through error logs and found the problem was caused by missing dx.jar path.<br />Then I've converted 5ud0ku and microemu-demo... They works fine...<br /><br />But most of all other converted APKs are not working.<br />Getting "Unfortunately, *app_name* has stopped." error in android.<br /><br />I dig into jar files and found that JARs with MANIFEST.MF -> MIDlet-1: ... ending with MIDlet only are working.<br /><br />Example:<br />MIDlet-1: Devil May Cry, /icon.png, DMC2DMIDlet => working<br />MIDlet-1: BOLT,/icon.png,THJava => not working<br /><br />Can you please explain this?<br />Thanks a lot for microemu :)Cybersterhttps://www.blogger.com/profile/16536327396026060108noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-65042110978825073832013-11-08T17:43:00.177+01:002013-11-08T17:43:00.177+01:00I'm trying to convert a jar (livechat.jar/live...I'm trying to convert a jar (livechat.jar/livechat.jad) to apk... but getting following errors...<br />I also tried with 5UD0KU, but same...<br /><br />I'm using Subversion-1.6.0, jdk1.6.0_24, apache-ant-1.9.2, apache-maven-2.2.1<br />Please help me... <br /><br />C:\Users\Cyberster\microemulator\microemu-android>%ant%ant<br />Buildfile: C:\Users\Cyberster\microemulator\microemu-android\build.xml<br /><br />clean:<br /> [delete] Deleting directory C:\Users\Cyberster\microemulator\microemu-android\bin<br /><br />check:<br /><br />dirs:<br /> [mkdir] Created dir: C:\Users\Cyberster\microemulator\microemu-android\bin<br /> [mkdir] Created dir: C:\Users\Cyberster\microemulator\microemu-android\bin\assets<br /> [mkdir] Created dir: C:\Users\Cyberster\microemulator\microemu-android\bin\classes<br /> [mkdir] Created dir: C:\Users\Cyberster\microemulator\microemu-android\bin\producer<br /> [mkdir] Created dir: C:\Users\Cyberster\microemulator\microemu-android\bin\res<br /> [mkdir] Created dir: C:\Users\Cyberster\microemulator\microemu-android\bin\libs<br /><br />compile-producer:<br /> [javac] C:\Users\Cyberster\microemulator\microemu-android\build.xml:94: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds<br /> [javac] Compiling 6 source files to C:\Users\Cyberster\microemulator\microemu-android\bin\producer<br /><br />read-jad:<br /> [echo] midlet.name = [LiveChat]<br /> [echo] midlet.icon.totrim = [ /icon.png]<br /> [echo] midlet.icon = [/icon.png]<br /> [echo] midlet.class.totrim = [ avacs.c]<br /><br />prepare-jars:<br /><br />prepare-assets:<br /> [unzip] Expanding: C:\Users\Cyberster\microemulator\microemu-android\livechat.jar into C:\Users\Cyberster\microemulator\microemu-android\bin\assets<br /> [copy] Copying 1 file to C:\Users\Cyberster\microemulator\microemu-android\bin\assets<br /><br />prepare-res:<br /> [mkdir] Created dir: C:\Users\Cyberster\microemulator\microemu-android\bin\res\values<br /> [mkdir] Created dir: C:\Users\Cyberster\microemulator\microemu-android\bin\res\drawable<br /> [unjar] Expanding: C:\Users\Cyberster\microemulator\microemu-android\livechat.jar into C:\Users\<br />Cyberster\microemulator\microemu-android\bin<br /> [copy] Copying 1 file to C:\Users\Cyberster\microemulator\microemu-android\bin\res\drawable<br /><br />package-res:<br /><br />compile:<br /> [javac] C:\Users\Cyberster\microemulator\microemu-android\build.xml:187: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds<br /> [javac] Compiling 31 source files to C:\Users\Cyberster\microemulator\microemu-android\bin\classes<br /> [javac] Note: Some input files use or override a deprecated API.<br /> [javac] Note: Recompile with -Xlint:deprecation for details.<br /> [javac] Note: C:\Users\Cyberster\microemulator\microemu-android\src\org\microemu\android\MicroEmulator.java uses unchecked or unsafe operations.<br /> [javac] Note: Recompile with -Xlint:unchecked for details.<br /><br />dex:<br /> [exec] Unable to access jarfile ..\framework\dx.jar<br /><br />BUILD FAILED<br />C:\Users\Cyberster\microemulator\microemu-android\build.xml:209: exec returned: 1<br /><br />Total time: 10 secondsCybersterhttps://www.blogger.com/profile/16536327396026060108noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-33915722245907468212013-04-22T14:02:38.053+02:002013-04-22T14:02:38.053+02:00help me first time use it, i already download but ...help me first time use it, i already download but i don't know how to use itAnonymoushttps://www.blogger.com/profile/02064537725940119484noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-91776666303636170862013-03-07T06:45:05.170+01:002013-03-07T06:45:05.170+01:00Can you make video how toCan you make video how toAnonymoushttps://www.blogger.com/profile/04381323375568280425noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-85005959556713579122012-10-25T18:47:43.850+02:002012-10-25T18:47:43.850+02:00hi, if you guys say its possible to convert java a...hi, if you guys say its possible to convert java apps to .apk, please has any one been able to convert bbm successfully? let some one do it n lrt us all benefit from it. or if any one of u is having it please share with us.<br /><br /><br />chidiseg@gmail.comchidiseghttps://www.blogger.com/profile/03458125673384110389noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-76588035734001250552012-07-13T14:41:13.523+02:002012-07-13T14:41:13.523+02:00Hello Bartek,
I run microemulator on Ubuntu and I ...Hello Bartek,<br />I run microemulator on Ubuntu and I don't have any errors but I can't run apk file on android device. I had it working but after I reinstalled jdk it don't want to build apk file correctly. I tried different versions, nothing helped. I saw that if "dex" is empty then apk file will be incorret. Maybe I have incorrect build.xml, I don't know. Help me please.<br />compile:<br /> [javac] /home/denis/Programs/microemulator/microemu-android/build.xml:226: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds<br /> [javac] Compiling 35 source files to /home/denis/Programs/microemulator/microemu-android/bin/classes<br /> [javac] Note: Some input files use or override a deprecated API.<br /> [javac] Note: Recompile with -Xlint:deprecation for details.<br /> [javac] Note: /home/denis/Programs/microemulator/microemu-android/src/org/microemu/android/MicroEmulator.java uses unchecked or unsafe operations.<br /> [javac] Note: Recompile with -Xlint:unchecked for details.<br /><br />dex:<br /><br />package-apk:<br /> [exec] <br /> [exec] THIS TOOL IS DEPRECATED. See --help for more information.<br /> [exec] <br /><br />BUILD SUCCESSFULAnonymoushttps://www.blogger.com/profile/09791824133833521728noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-66931484122563035482012-07-10T13:15:38.388+02:002012-07-10T13:15:38.388+02:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/09791824133833521728noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-7560666944263559042012-07-09T13:06:44.055+02:002012-07-09T13:06:44.055+02:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/09791824133833521728noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-45099130390193411122012-02-24T14:54:50.059+01:002012-02-24T14:54:50.059+01:00Please help me!
I don't understund this:
cd m...Please help me!<br />I don't understund this:<br /><br />cd microemulator<br />mvn<br /><br />cd microemu-android<br />ant<br /><br />I suppose to change dir and... what is then?<br />I never use ant and maven before.<br /><br />One more question:<br /><br /><br /><br /><br /><br />What does mean $HOME ?Guseinov Murad.https://www.blogger.com/profile/14863327182970327301noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-9005888393490369432012-02-24T13:52:14.724+01:002012-02-24T13:52:14.724+01:00Please help me!
I dont understand what daes it mea...Please help me!<br />I dont understand what daes it mean<br /><br />cd microemulator<br />mvn<br /><br />cd microemu-android<br />ant<br /><br />How to use Ant and Maven? I hever use it before. One more question :<br /><br /><br />May I use absolute pathes ? Or sdk mast be in path relative to this xml file? <br /><br />p.s Excusme for my English? I am not native speakerGuseinov Murad.https://www.blogger.com/profile/14863327182970327301noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-65180759130109616442012-02-22T17:47:50.294+01:002012-02-22T17:47:50.294+01:00PurplePants,
What version from SVN do you use, th...PurplePants,<br /><br />What version from SVN do you use, the latest trunk or revision 2211?Bartek Teodorczykhttps://www.blogger.com/profile/14895873725115124290noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-19307116163784069252012-02-21T15:58:12.211+01:002012-02-21T15:58:12.211+01:00getting compiler errors when doing the last ant bu...getting compiler errors when doing the last ant build:<br />compile-producer:<br /> [javac] D:\marius\mobetAndr\microemu-android\build.xml:134: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds<br /> [javac] Compiling 6 source files to D:\marius\mobetAndr\microemu-android\bin\producer<br /> [javac] D:\marius\mobetAndr\microemu-android\src\org\microemu\android\asm\FirstPassVisitor.java:40: interface expected here<br /> [javac] public class FirstPassVisitor implements ClassVisitor {<br /> [javac] ^<br /> [javac] D:\marius\mobetAndr\microemu-android\src\org\microemu\android\asm\AndroidClassVisitor.java:229: incompatible types<br /> [javac] found : org.microemu.android.asm.AndroidClassVisitor.AndroidMethodVisitor<br /> [javac] required: org.objectweb.asm.MethodVisitor<br /> [javac] return new AndroidMethodVisitor(super.visitMethod(access, name, desc, signature, exceptions));<br /> [javac] ^<br /> [javac] D:\marius\mobetAndr\microemu-android\src\org\microemu\android\asm\AndroidProducer.java:59: cannot find symbol<br /> [javac] symbol : method accept(org.microemu.android.asm.FirstPassVisitor,int)<br /> [javac] location: class org.objectweb.asm.ClassReader<br /> [javac] cr.accept(cv, 0);<br /> [javac] ^<br /> [javac] D:\marius\mobetAndr\microemu-android\src\org\microemu\android\asm\AndroidProducer.java:77: incompatible types<br /> [javac] found : org.microemu.android.asm.AndroidClassVisitor<br /> [javac] required: org.objectweb.asm.ClassVisitor<br /> [javac] ClassVisitor cv = new AndroidClassVisitor(cw, isMidlet,<br />classesHierarchy, fieldTranslations);<br /> [javac] ^<br /> [javac] 4 errors<br /><br />BUILD FAILED<br />D:\marius\mobetAndr\microemu-android\build.xml:134: Compile failed; see the compiler error output for details.<br /><br />Total time: 0 secondsPurplePantshttps://www.blogger.com/profile/11028372397307828506noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-69213001032640724222012-02-15T12:41:42.379+01:002012-02-15T12:41:42.379+01:00zeAtBlogg,
Can we move the discussion to the othe...zeAtBlogg,<br /><br />Can we move the discussion to the other place? it would be easier to talk on our support group:<br />http://groups.google.com/group/microemulator-support<br /><br />I'll put answers thereBartek Teodorczykhttps://www.blogger.com/profile/14895873725115124290noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-41837947359477572772012-02-14T13:06:19.093+01:002012-02-14T13:06:19.093+01:00Converted several games and they seem to work grea...Converted several games and they seem to work great. Even GBA emulator running some Pokemone game works fine, although it crashes when sound is enabled. <br /><br />Tried 7-8 different Metal Gears, MGS classic and MG Acids, none of them did work. Tried 5-6 different Zeldas, all force close at start. Actually the games that do work do not have sound, so my question now is whether the sound is supposed to be working at all? <br /><br />I should also mention probably that I used Android 2.3 which they call "Android-8", so I had to make some additional changes to "build.xml" as the directory structure is a bit different, and I can post here about it if you like. In any case, do you think whether there is a chance some of those non-working apps might actually end up working if I use older Android SDK as you did? <br /><br />All in all I find this is a great project, especially since many have laughed about it before and said converting J2ME jar to Android apk would be impossible. Well, I'm glad the impossibility of it didn't stop you, hehee, keep up the good work! <br /><br /><br />Crazy Internet Crusader,<br />www.geocities.com/ze_aks/myos.htmlzeAtBlogghttps://www.blogger.com/profile/00644257545951814567noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-69338592703021929822012-02-14T09:38:37.429+01:002012-02-14T09:38:37.429+01:00Yep, JDK-6u25 did the job, with Maven 2.2.1, so no...Yep, JDK-6u25 did the job, with Maven 2.2.1, so now I'll be having fun trying to convert some stuff. Is there any place on the Internet where such converted apps can be found, so maybe I can upload my conversions there too? -- Now, as I managed to figure out Google is banning anything from Android Market that has to do with J2ME emulation, do you know what is their reason? I also see at some point there were some apps on the Android Market that are not there anymore, which do exist as J2ME apps, so were most likely conversions, and again, what is the problem Google has with it, considering the apps I'm talking about were free to start with?zeAtBlogghttps://www.blogger.com/profile/00644257545951814567noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-88468010181116014592012-02-14T08:44:12.075+01:002012-02-14T08:44:12.075+01:00zeAtBlogg,
I didn't test the conversion with ...zeAtBlogg,<br /><br />I didn't test the conversion with the JDK-7 and I'm suspecting it may be a cause of your problem. Try with JDK-6 and let me know if the problem still exists.Bartek Teodorczykhttps://www.blogger.com/profile/14895873725115124290noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-12903004942024666222012-02-14T08:10:17.603+01:002012-02-14T08:10:17.603+01:00Amazing job, thank you. -- Failed to build microem...Amazing job, thank you. -- Failed to build microemulator 2211, 2450 and 2525 with the latest JDK-7u2 and Maven 2.2.1 or 3.0.4, it says it's unable to load rt.jar, it has to do with some version of something. I'm now downloading JDK-6u25 to see if that's gonna solve it since I assume that version could be closer to the JDK version you originally used when making this tutorial. QUESTION: could you please be specific and tell us exactly what version of JDK, Maven, Android, ASM and ANT were you using, or what are the latest versions of these tools that you successfully used for this?zeAtBlogghttps://www.blogger.com/profile/00644257545951814567noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-36936617001705372962012-02-10T09:50:31.659+01:002012-02-10T09:50:31.659+01:00RadioGiurumele,
Do you know who is the producer o...RadioGiurumele,<br /><br />Do you know who is the producer of this game? Maybe it would be better to contact them and ask for permission.Bartek Teodorczykhttps://www.blogger.com/profile/14895873725115124290noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-56273194331978955812012-02-06T19:00:30.303+01:002012-02-06T19:00:30.303+01:00Hello!
I would like to convert SonicJump.jar (Jav...Hello!<br /><br />I would like to convert SonicJump.jar (Java game for Nokia N73) to an .apk, in order to run on my Android (2.3.3 Gingerbread). <br /><br />This is the game:<br />http://www.mediafire.com/?rv136n6mv3fvf81<br /><br />Is this possible using MicroEmu ? Sorry for my question, but I'm not a coder. <br /><br />In the hope of an answer, please allow me to congratulate you for the very nice work at MicroEmu !<br /><br />FunkmuseumRadioGiurumelehttps://www.blogger.com/profile/18311287638481466629noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-1863897380035326162012-01-26T22:16:19.893+01:002012-01-26T22:16:19.893+01:00Hello together! I've run across this recipe tr...Hello together! I've run across this recipe trying to convert a little java me game I wrote on my own. I followed the first 5 conversion steps letter by letter, yet I obviously ran into the same problem that occurs in <a href="http://microemu.blogspot.com/2009/08/converting-javame-applications-to.html?showComment=1285059966780#c597177863702396321" rel="nofollow">this older post</a>. In my case the last few lines of the ant output read:<br /><br />prepare-res:<br /> [mkdir] Created dir: S:\Internet\microemulator\microemu-android\bin\res\values<br /> [mkdir] Created dir: S:\Internet\microemulator\microemu-android\bin\res\drawable<br /> [unjar] Expanding: S:\Projekt\java\Eigene\Mobiles\Korean\mobiles\korean.jar into S:\Internet\microemulator\microemu-android\bin<br /> [copy] Copying 1 file to S:\Internet\microemulator\microemu-android\bin\res\drawable<br /><br />package-res:<br /> [exec] invalid resource directory name: bin\res/Images<br /><br />BUILD FAILED<br />S:\Internet\microemulator\microemu-android\build.xml:274: exec returned: 1<br /><br />Comparing my output with that in the aforementioned post I would guess there is some probem with mixing forward and backward slashes. But perhaps the reason is some other problem which I'm unable to judge whether it has already been fixed in a more recent revision or not. I think I would be able to fix this issue myself if someone could point me into the correct direction. Any help greatly appreciated. Best regards, Oliver PfeifferOliver Pfeifferhttps://www.blogger.com/profile/04225428453458281267noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-83190282696516947072011-12-17T17:32:46.462+01:002011-12-17T17:32:46.462+01:00Hi,
thanks for this great possibility! I've t...Hi,<br /><br />thanks for this great possibility! I've tried it and it works OK (you only have to use ASM 3.2 and Maven 2 – not the newer versions – and modify the Android SDK path in the build file).<br /><br />But I don't have keyboard on my phone and would like to convert an app that requires one – is there a way to emulate a physical phone keyboard?<br /><br />All the best,<br />TuetschekHerr Tütschekhttps://www.blogger.com/profile/12948972296157198915noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-25855385764009318102011-11-17T16:15:41.371+01:002011-11-17T16:15:41.371+01:00hello guys,
i have this problem when i try to bui...hello guys,<br /><br />i have this problem when i try to build micro emulator using mvn :<br /><br />INFO] ------------------------------------------------------------------------<br />[ERROR] Failed to execute goal on project microemulator: Could not resolve depen<br />dencies for project org.microemu:microemulator:pom:3.0.0-SNAPSHOT: The following<br /> artifacts could not be resolved: org.microemu:microemu-javase-swing:jar:3.0.0-S<br />NAPSHOT, org.microemu:microemu-injected:jar:inject:3.0.0-SNAPSHOT: Could not fin<br />d artifact org.microemu:microemu-javase-swing:jar:3.0.0-SNAPSHOT -> [Help 1]<br />[ERROR]<br />[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit<br />ch.<br />[ERROR] Re-run Maven using the -X switch to enable full debug logging.<br />[ERROR]<br />[ERROR] For more information about the errors and possible solutions, please rea<br />d the following articles:<br />[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso<br />lutionException<br />C:\Users\azg\Desktop\emulater\microemulator><br /><br />Ahmed u had the same problem could you post how you solve it .<br /><br />Best Regards.Gabrielhttps://www.blogger.com/profile/00515147971313245829noreply@blogger.com