J2ME Polish: Targeting Android, BlackBerry, and J2ME devices - java-me

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

Related

How to start the Application in Symbian OS using J2ME?

I'm new to mobile development.
I want to know the developing sites for Symbian OS Nokia development?
I'm working in eclipse pulsar,In J2ME language. Then how to develop the Application
on S605th edition?
Download java wireless toolkit and configure with Eclipse Pulsar. Symbian 5th edition mobiles mostly Touch enabled mobiles. Look at Nokia Developer Documentation for your reference.
FYI: You can use LWUIT framework. LWUIT provides swing like features and touch enabled by default.

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

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

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

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.

How to create application for Mobile?

I have to create a mobile installable/client application...and I dnt know nothing abt this..
what SDK,language should I use?? if this will in .net will be fine(optional)... any Ideas
Will really appreciate this...
Thanks!!!
First you will need to decide what mobile platform or platforms you want to support. Often your choice of language and toolset will be completely dictated by that. For example, if you want to write software for the iPhone, you will need to use Objective C (and use a Mac) while Android-based phones and BlackBerry devices require Java. Windows Mobile and Symbian devices natively support C/C++ and their own proprietary APIs but you can use frameworks like Qt to make things easier (and portable between the two). Windows Mobile in particular also supports lots of other platforms that run on top of the base OS, such as slightly limited version .Net or Java (but bring-your-own-JVM).
The one common denominator between them all is web applications. If you want a single codebase that will work everywhere and that doesn't use a completely proprietary toolset, you can build a web app.
Programming languages: Objective-C, Java, C# .NET CF etc. It depends on what devices you application should be running.
You can use Visual studio to target Mobiles have Windows Mobile OS or Windows CE or Pocket PC, for other OSs you have to see the SDK that the Manufacture company provide.
I you got no clue to start with, I suggest you start with Java ME. Java Mobile Application is, in my opinion, the safest way to go for starters as they have the widest acceptance among mobile device platforms.
Good luck.

Resources