tag:blogger.com,1999:blog-2362966386931816429.post4079316374107835262..comments2023-03-25T10:37:23.446+01:00Comments on MicroEmu: Running Java ME applications on AndroidBartek Teodorczykhttp://www.blogger.com/profile/14895873725115124290noreply@blogger.comBlogger86125tag:blogger.com,1999:blog-2362966386931816429.post-62542122868531895922012-07-17T18:56:44.194+02:002012-07-17T18:56:44.194+02:00i made a lwuit midlet and built it following the s...i made a lwuit midlet and built it following the steps and it crashes at start.<br />5ud0ku and the simple demo run fine nut i also made a simple hello world with the lcdui which adds text from a textfield to the form and it always crashes after the second press?<br />Any ideas on how to fix it?Abahttps://www.blogger.com/profile/17065701519254915868noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-33368632182576877412010-09-01T11:47:36.138+02:002010-09-01T11:47:36.138+02:00Hi,
Thanks Bartek for your quick reply.
It was m...Hi,<br /><br />Thanks Bartek for your quick reply.<br /><br />It was my mistake (my last posted query) and i want to correct it for those who read this blog.<br /><br />RMS works properly which i thought it didnt. But bluetooth does not work. In j2me, we have Local.getBluetoothDevice().getBluetoothAddress() api.<br /><br />My j2me application just tries to get bluetooth address.<br /><br />After converting to .apk, it shows "Some unexpected error has occured..Force close."<br /><br />Also I will provide appropriate info. at http://groups.google.com/group/microemulator.<br /><br />thanksNamit Ranahttps://www.blogger.com/profile/11099869603062876226noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-5539113214524412802010-08-29T17:14:36.601+02:002010-08-29T17:14:36.601+02:00Its interesting the fact of trying to load java ap...Its interesting the fact of trying to load java apps from android but its also interesting the fact of running Android on an java Applet wrapping recursivly libraries needed then to be exposed by the Applet so can be executed via javascript through an getWindow(..) createObject(..) eval(..) thus it will be possible to run Android apps/games in any webpage or as a facebook app/gameDavidhttps://www.blogger.com/profile/07607713862900559354noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-85703232215258498542010-08-29T17:10:26.101+02:002010-08-29T17:10:26.101+02:00I believe running java apps on Android is interest...I believe running java apps on Android is interesting but as well as interesting as running Android from an applet the sealed java android classes can be recursivly wrapped and emulated the preripherals then exposed tanks to creation of public methods and properties Android OS final libraries so can be executed code via javascript with an getWindow(..) createObject(..) and eval(..) so ie can be run all android software even java mobile apps in facebook or from any web pageDavidhttps://www.blogger.com/profile/07607713862900559354noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-74823778121840166682010-08-28T16:40:21.315+02:002010-08-28T16:40:21.315+02:00Namit Rana,
You should be more specific about you...Namit Rana,<br /><br />You should be more specific about your problem with RMS. The best would be to use http://groups.google.com/group/microemulator-support for that.<br /><br />For reducing the apk size, you can always sponsor adding obfuscation feature.Bartek Teodorczykhttps://www.blogger.com/profile/14895873725115124290noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-62965792092470343182010-08-28T14:25:12.742+02:002010-08-28T14:25:12.742+02:00Hi all,
It does not work with j2me RMS (RecordSto...Hi all,<br /><br />It does not work with j2me RMS (RecordStore Management System) . Also the size of the converted .apk file is too big as compared to the midlet.Namit Ranahttps://www.blogger.com/profile/11099869603062876226noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-22907753640454962982010-05-11T15:02:03.265+02:002010-05-11T15:02:03.265+02:00Thanks for your reply.
I didn't know about th...Thanks for your reply.<br /><br />I didn't know about this forum. I will use it.<br /><br />Regards.Marcio Andrey Oliveirahttps://www.blogger.com/profile/13710738787276901847noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-66375960842348184352010-05-11T09:18:03.765+02:002010-05-11T09:18:03.765+02:00Marcio Andrey Oliveira,
It would be more convenie...Marcio Andrey Oliveira,<br /><br />It would be more convenient to continue this topic on the support group. Already started a new thread: http://groups.google.com/group/microemulator-support/browse_thread/thread/b4a762fd79bf1c14Bartek Teodorczykhttps://www.blogger.com/profile/14895873725115124290noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-28191416932716694092010-05-11T02:43:01.122+02:002010-05-11T02:43:01.122+02:00Hi. I've successfully generated 5ud0ku.apk so ...Hi. I've successfully generated 5ud0ku.apk so I believe my environment is correctly configured.<br /><br />I've converted my j2me app to apk and when I try to run it on android emulator a null pointer exception is thrown.<br /><br />At first I thought that some resource was not found because they were moved to assets folder while on my original application they are at the root on jar. I don't use subdirectories.<br /><br />Looking at the log file it seems that the one of my classes was not found. This class is named Resource.<br /><br />My app uses this class to load strings and images from jar. All methods and attributes are static.<br /><br />I've generated the apk file without signature then I moved resources out of assets folder, manually signed the package but the problem persist exactly the same.<br /><br />Could you give some insights to help solve my problem?<br /><br />I don't know if these information are useful or not but<br />- if I use netmind the converted application works fine.]<br />- The apk file generated by netmind keep all resources in the file root.<br />- The jar used send to netmind was obfuscated.<br /><br />PS: I've tried both obfuscated and unobfuscated jars with microemu.<br /><br />Thanks a lot.Marcio Andrey Oliveirahttps://www.blogger.com/profile/13710738787276901847noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-72164815567472022872010-03-30T11:53:09.477+02:002010-03-30T11:53:09.477+02:00I appreciate the information. Java is one of the c...I appreciate the information. Java is one of the consistent player from the development industry which has been providing the wider scope for developers to come out with different solutions.Webmasterhttps://www.blogger.com/profile/07259067305769918232noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-43179888681131325402010-03-23T10:37:57.962+01:002010-03-23T10:37:57.962+01:00unnam,
Of course I can help you. For easier commu...unnam,<br /><br />Of course I can help you. For easier communication I encourage to use the following channels:<br />- open source projects: http://groups.google.com/group/microemulator-support<br />- commercial projects: info@microemu.comBartek Teodorczykhttps://www.blogger.com/profile/14895873725115124290noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-91094369574117604412010-03-23T10:27:49.435+01:002010-03-23T10:27:49.435+01:00We plan to run a simple java applet in android emu...We plan to run a simple java applet in android emulator.. Can you help us? How can we use the web sources to run it directly?Ashokanhttps://www.blogger.com/profile/08340431803988437346noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-35227073627976000242010-01-25T09:39:51.264+01:002010-01-25T09:39:51.264+01:00Hello Bartek,
Thanks a ton for your help.
Now i...Hello Bartek,<br /><br />Thanks a ton for your help. <br /><br />Now i have proper error log and exact location of error.Hopefully i will be able to debug and run whole application successfully.<br /><br />Thanks once again for your help.Juihttps://www.blogger.com/profile/16394794844042345780noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-64348721237420529312010-01-25T08:58:33.965+01:002010-01-25T08:58:33.965+01:00Jui,
You have to watch what LogCat console in Ecl...Jui,<br /><br />You have to watch what LogCat console in Eclipse is saying.Bartek Teodorczykhttps://www.blogger.com/profile/14895873725115124290noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-79678854868515239962010-01-25T07:09:56.879+01:002010-01-25T07:09:56.879+01:00Hello, bartek
Thanks for your reply.
To answer ...Hello, bartek <br /><br />Thanks for your reply.<br /><br />To answer your question , I am using XMLParser.java in J2ME application.Basically the application reads data from xml file and displays in the form.<br /><br />Ant tool successfully builds and .apk file is generated. But when i run application on emulator, it gives <br /><br />"The application has stopped unexpectedly.Please try again"<br /><br />Also while building i get warning :<br /><br />Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.)Juihttps://www.blogger.com/profile/16394794844042345780noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-88291748761890825852010-01-24T08:25:00.874+01:002010-01-24T08:25:00.874+01:00Jui,
What kind of parser do you use? Has this err...Jui,<br /><br />What kind of parser do you use? Has this error also some more detailed information?Bartek Teodorczykhttps://www.blogger.com/profile/14895873725115124290noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-26496791107407324482010-01-23T13:00:14.700+01:002010-01-23T13:00:14.700+01:00Hello Bartek,
I have J2ME application using XML D...Hello Bartek,<br /><br />I have J2ME application using XML Data parser.When i try to run converted .apk file.it gives an error.Is xml data parsing not supported in microemulator??Juihttps://www.blogger.com/profile/16394794844042345780noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-50913429848150168402009-12-03T05:00:33.270+01:002009-12-03T05:00:33.270+01:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-38813615674505668772009-11-24T17:49:37.405+01:002009-11-24T17:49:37.405+01:00Tomas,
I put the answer on the support group list...Tomas,<br /><br />I put the answer on the support group list: http://groups.google.com/group/microemulator-support/browse_thread/thread/d68538df5b97a057Bartek Teodorczykhttps://www.blogger.com/profile/14895873725115124290noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-59803282638472007952009-11-24T07:22:08.632+01:002009-11-24T07:22:08.632+01:00Bartek,
I have a question, do you think it would b...Bartek,<br />I have a question, do you think it would be possible to integrate 3rd party Android library for ads (for example Greystripe or AdMob) into converted midlet? If yes, how can I add a jar library to the project (I am using Ant for building)?Tomashttps://www.blogger.com/profile/07549477272479465360noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-68660064669340936602009-11-23T23:02:23.212+01:002009-11-23T23:02:23.212+01:00This comment has been removed by a blog administrator.Benhttps://www.blogger.com/profile/04583711311324764156noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-66978209130692184022009-11-16T12:40:53.022+01:002009-11-16T12:40:53.022+01:00Thanks for your answer!. It all works okThanks for your answer!. It all works okUnknownhttps://www.blogger.com/profile/18359947257482210649noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-34893651973089835092009-11-13T12:50:02.505+01:002009-11-13T12:50:02.505+01:00alvaro543,
You can try to checkout the MicroEmul...alvaro543, <br /><br />You can try to checkout the MicroEmulator source code from new location: <br />svn co http://microemu.googlecode.com/svn/trunk/microemulator microemulator -r 2211<br /><br />I'm working now to update the build procedure and this location will become an official one very soon.Bartek Teodorczykhttps://www.blogger.com/profile/14895873725115124290noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-66479252291152626642009-11-12T18:57:25.455+01:002009-11-12T18:57:25.455+01:00Hi Bartek, I was testing this tool six month ago t...Hi Bartek, I was testing this tool six month ago testing ours j2me apps with incredible results, I was compiling with Android sdk 1.0 rc 1 and everything works ok.<br /><br />Now I am trying to compile with Android sdk 1.5 r3, 1.6 r1, 1.0 r2 in in linux and I always get the same message<br />....<br />/home/alvaro/Programas/android/microemulator/microemu-android/src/org/microemu/android/device/ui/AndroidAlertUI.java:27: cannot find symbol<br /> [javac] symbol : variable styleable<br /> [javac] location: class android.R<br /> [javac] TypedArray a = titleView.getContext().obtainStyledAttributes(android.R.styleable.Theme);<br /><br /><br />etc....<br /><br /><br />Can you Help me?<br /><br />Thanks in advance.Unknownhttps://www.blogger.com/profile/18359947257482210649noreply@blogger.comtag:blogger.com,1999:blog-2362966386931816429.post-61451998420764494232009-10-29T06:12:11.088+01:002009-10-29T06:12:11.088+01:00This comment has been removed by a blog administrator.James prakerhttps://www.blogger.com/profile/11208374447501434177noreply@blogger.com