

I'd like to create Java app that should work on both Android and Windows. I created JAR Java app on Eclipse Classic 3.7.1. It works okay on Windows with Java 6 VM (BTW, I tryed j2me app for mobile phone on Windows. It does not work. I 've installed Jbed 1.20 on Android Emulator.
Just got a Droid and on my previous Windows Mobile 6.1 phone there was a Java emulator (Intent Java MIDlet Manager ) which allowed you to run jad/jar files on your Windows Mobile device. The state of j2me/midlet/jar emulation, and the in-danger software for the. Word of warning to anyone that wants to download old java phone.

That j2me app started okay there. But my own Eclipse's jar did not run. It said that 'no Midlet name' in it. Well, it seems I should develop j2me midlets for Android. I have installed J2ME_Runner 2.0.3.7 plugin in my Eclipse.
But I can't create j2me app. I tryed the following 1) I created Java project.
Then I created 'File-new-others-j2me midlet'. The Eclipse indicates that the following strings are invalid: import javax.microedition.midlet.MIDlet; import javax.microedition.lcdui.*; 2) Next I tryed file-new-project-J2me midlet suite. I typed project name but I can fill the next screen.
There are empty 'Group' and 'Device'. How to create j2me midlet in Eclipse Classic for ANdroid 2.2 or 3.0? Is it possible to run Java SE Jar files on Android? What should I install to develop j2me midlets? What is the better tool: Eclipse or NEtBeans? BTW, I looked at J2ME 'HelloWorld' source code.
Why it is so different than Java SE source code. Java SE and ME source codes are not compatible? I don't think there is an answer to your question.
Java is not everything. You will not be able to create a GUI app that works on both Android and Java Desktop. What you can do is to separate your application core library codes and your application GUI. The core library can be shared for both Android and Java Desktop application. However, you will need to implement GUI for Android and Java Desktop separately. I believe J2ME is an old technology. Since most smart phone OSs have their own APIs and they perform much better than J2ME, there are less attention to this technology.
If you really want to have an application which run on any platform, you should considering making a web application. All you need is web browser but, of course, you will not be able to access system functionalities of your phone or OS.
Osmanskaya imperiya i persiya 19 nachale 20 veka prezentaciya 2. I am not exactly sure, what you want to achieve. Sure.there are probably J2ME emulators for both, Android and Windows, but I fail to see the point in using J2ME in either Android or Windows. Programming an App for both seems hard to me due to the different capabilities of each platform (Screen resolution, input device.) Maybe there is also a misunderstanding: Android is a Mobile Device that features Java, but not in the way like some mobile devices that support JavaME. On Android mostly everything(e.g. Launcher, MailClient, Dialer, AppDrawer.) is built to run on the DalvikVM (The JVM on Android), not just some Games/Tools. The DalvikVM provides nearly the same featureset as a desktop JavaVM, in fact you compile your class-files with a standard JavaSE compiler.

I'd like to create Java app that should work on both Android and Windows. I created JAR Java app on Eclipse Classic 3.7.1. It works okay on Windows with Java 6 VM (BTW, I tryed j2me app for mobile phone on Windows. It does not work. I 've installed Jbed 1.20 on Android Emulator.
Just got a Droid and on my previous Windows Mobile 6.1 phone there was a Java emulator (Intent Java MIDlet Manager ) which allowed you to run jad/jar files on your Windows Mobile device. The state of j2me/midlet/jar emulation, and the in-danger software for the. Word of warning to anyone that wants to download old java phone.

That j2me app started okay there. But my own Eclipse's jar did not run. It said that 'no Midlet name' in it. Well, it seems I should develop j2me midlets for Android. I have installed J2ME_Runner 2.0.3.7 plugin in my Eclipse.
But I can't create j2me app. I tryed the following 1) I created Java project.
Then I created 'File-new-others-j2me midlet'. The Eclipse indicates that the following strings are invalid: import javax.microedition.midlet.MIDlet; import javax.microedition.lcdui.*; 2) Next I tryed file-new-project-J2me midlet suite. I typed project name but I can fill the next screen.
There are empty 'Group' and 'Device'. How to create j2me midlet in Eclipse Classic for ANdroid 2.2 or 3.0? Is it possible to run Java SE Jar files on Android? What should I install to develop j2me midlets? What is the better tool: Eclipse or NEtBeans? BTW, I looked at J2ME 'HelloWorld' source code.
Why it is so different than Java SE source code. Java SE and ME source codes are not compatible? I don't think there is an answer to your question.
Java is not everything. You will not be able to create a GUI app that works on both Android and Java Desktop. What you can do is to separate your application core library codes and your application GUI. The core library can be shared for both Android and Java Desktop application. However, you will need to implement GUI for Android and Java Desktop separately. I believe J2ME is an old technology. Since most smart phone OSs have their own APIs and they perform much better than J2ME, there are less attention to this technology.
If you really want to have an application which run on any platform, you should considering making a web application. All you need is web browser but, of course, you will not be able to access system functionalities of your phone or OS.
Osmanskaya imperiya i persiya 19 nachale 20 veka prezentaciya 2. I am not exactly sure, what you want to achieve. Sure.there are probably J2ME emulators for both, Android and Windows, but I fail to see the point in using J2ME in either Android or Windows. Programming an App for both seems hard to me due to the different capabilities of each platform (Screen resolution, input device.) Maybe there is also a misunderstanding: Android is a Mobile Device that features Java, but not in the way like some mobile devices that support JavaME. On Android mostly everything(e.g. Launcher, MailClient, Dialer, AppDrawer.) is built to run on the DalvikVM (The JVM on Android), not just some Games/Tools. The DalvikVM provides nearly the same featureset as a desktop JavaVM, in fact you compile your class-files with a standard JavaSE compiler.