Java mobile - Startup questions - java-me

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

Related

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).

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.

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 do I get started with J2ME?

i am new to J2ME. Please tell me how can I install it and where from.
What else do I have to download to install J2ME with JDK.
If you are a beginner, I recommend starting with Netbeans IDE. Download the version that includes the Mobility Pack. There are many tutorials available for developing mobile applications with Netbeans.
You may also need the WTK (don't remember if it comes with Netbeans),
It's not easy to start out with J2ME development (such as with MIDP) if you haven't done any Java programming before. You might want to start with this NetBeans quickstart.
There are also a bunch of emulators, requiring some configuration to do on your IDE (e.g. Netbeans or Eclipse). This is because different cell-phone manufacturers have their own implementation SDK's on J2ME (e.g. SonyEricsson).
Tools
The basic tool for j2me development is WTK(Wireless tool kit) from SUN which contains the emulator and other libraries needed for development. WTK also contains utilities for signing ,preverifying ,network monitoring tools.The IDEs like Netbeans and Eclipse are having plug ins for j2me development. These plugins will integrate the WTK and libraries.
For netbeans all are bundled into one package ,so easy to install and configure. For Eclipse you have to install the MTJ(mobile tools for java) plugin.
You can check both IDEs and select the one which your most comfortable with.
There is no such thing like a complete package. You need a basic setup and optional device-provider packages (mostly emulators).
Basic setup:
SUN WTK (includes basic J2ME SDK)
Eclipse Plugin
Optional packages:
Sony
Motorola
Nokia
You need the Sun wireless toolkit. You need this for the libraries, and also to 'preverify' your class files, otherwise they won't load on a mobile VM.
http://www.jguru.com/faq/view.jsp?EID=201507
You can download J2ME from the Sun Microsystems website

Resources