Can Sony Ericsson Xperia (Android OS) run J2ME applications? - java-me

I want to develop a J2ME application for my Sony Ericsson XPeria X10 (and then the Xperia Arc when it comes out), but i am not uncertain whether the Xperia's (which operates on an Android platform (OS)) has the ability to run MIDlets?
Or do i need to develop Android Apps instead?

You will be far better off writing an Android app as there are many great APIs available, that will make it far easier to make a rich user experience, however it is possible to make use of generic Java code between both Java ME and Android platforms and just port out the specifics
Using microemu is also an option if you have existing Java ME code
http://microemu.blogspot.com/2009/08/converting-javame-applications-to.html

Related

Need help Android and iOS-App developed on Xamarin

Need some help on xamarin Platform. I understand it can be used to develop Android-base and iOS-base App on Xamarin. I have the following questions:
For Android and iOS-based app develop on Xamarin, can the app run on Android-tablet ad iOS-tablet respectively? what I need to do for both tablets respectively?
If there are new controls for android and iOS, how Xamarin will update this for development?
1) Yes they can run on Android Tablet and iPad. Your code logic would remain the same but you would need to provide for the UI since the resolutions are different.
For iOS, Xamarin makes it simple by providing for a Universal template which allows you to provide different layouts for iPhone & iPad.
For Android, there is no template as such but the process remains the same just as you would for phones with different resolutions.
2) Assuming you are talking about the default controls, they will made available in the Xamarin framework via their regular update channels. First they are in Alpha, then in Beta and once the bugs have been ironed out, they are made available to Stable channel which can then be used in the production apps safely.
I would recommend you go through their docs which are quite good and explains this whole thing in quite detail. Xamarin Docs

J2ME Polish: Targeting Android, BlackBerry, and J2ME devices

I’m working on an app which is required to run on multiple different platforms. The original code is written in J2ME (Java ME).
The documentation online regarding using J2ME Polish for targeting multiple platforms is scarce and difficult to follow.
Can anyone here offer advice on targeting these 3 platforms using one code base? I’m currently using NetBeans 7.3 + the J2ME Polish plugin.
I’d ideally like to support:
Android 2.1+
BlackBerry OS 5.0+
J2ME/Java ME devices

is there any way to run j2me(jar/jad)program without using sun java wireless tool kit or any ide for j2me?

I want to run my j2me program (jar/jad) in my PC without using any IDE or sun java wireless toolkit or something like that?
Is there any other tool provided by Oracle?
Yeah possible. You can use Java ME SDK 3.0.5. And lot of other SDK available for run the Java ME applications on PC. These are Sprint SDK, Samsung SDK, Sony Ericsson SDK or LG SDK. Also you can use Nokia RDA device for run your Java ME application.
Samsung released its tool kit which is similar to "sun java wireless tool kit". Its better to try that.Many vendors like Nokia provide their SDKs.It is better that you search the net and try.They provide the development environment so that you can develop a j2me app and also be able to run jad/jar files. But I think there is no only running environment.The tool for running environment comes with the development environment (SDKs).

Java mobile - Startup questions

I am a J2SE Java developer, and i am currently trying to learn Java mobile development to create mobile applications. I have a couple of startup questions please :
Do i have to install JDK 6.0 or above, or only a J2ME SDK is quite enough ? (I don't know if the JDK includes J2ME API or not).
I have seen other Java mobile SDKs like Metismo and AlcheMo that still allow me to write Java coded mobile applications, so are these better than the J2ME SDK or there are better options ?
I will use Eclipse Pulsar + J2ME SDK in development. Do i need anything else ? And is this developing environment suitable to write Java coded mobile applications to run on most mobile types or there are better options ?
For the Emulator does J2ME SDK include an emulator ? I have seen a Free emulator called Micro Emulator so is this suitable, or there are better choices ?
If you have any advices / Tutorials for me before i start learning the language and coding my applications that would be very nice.
I suggest Netbeans better for mobile development. Even you can use Eclipse pulsar also. Netbeans already having sun java SDK. you can download the Emulator from following sites,
Sprint SDK
Sony Ericsson SDK
Samsung SDK
Motorola SDK
Nokia SDK
See these tutorials for j2me developing,
J2ME Tutorials
J2ME Coding example-1
J2ME Coding example-2
J2ME Guide

I start programming in j2me, how to get the maximum compatibility with every cellphone?

I am a newbie to J2me. I am programming a Java program to recognise QRs.
The specifications of the projects include the compatibility with most of cellphones. For example, Nokia with Symbian, iPhone or HTC with windows mobile.
I have started downloading, JDK, WTK, eclipse and MTJ.
Any other advice would be of help.
To do this, I will need to provide a different distro for every commercial mark? or OS?
You can't run J2ME applications on iPhone or Android.
iPhone apps are written in Objective-C, and Android apps are written in regular Java (almost). Don't know about the Symbian case (but that probably runs J2ME just fine).
If you want a high degree of code-reuse, I strongly advice you to try to do the application web-based, preferably executed in the browser, or with a minimal OS-specific implementation of a front-end.

Resources