Getting Started with J2ME
By: Emiley J.
A brief introduction of what is J2ME? is a good place to getting started. As with any other technology J2ME has its own set of toolkits and IDEs.
Sun Java Wireless
A free development environment directly from SUN is the Sun Java Wireless toolkit. It is a free IDE which can be downloaded at http://java.sun.com/products/sjwtoolkit/index.html
Netbeans mobility pack
If you are more comfortable with Netbeans development, this is another free toolkit which you can use to develop J2ME applications. This is downloadable from http://developers.sun.com/prodtech/javatools/mobility/downloads/index.jsp
If you are familiar with other Java development tools such as Code Warrior or Borland JBuiler etc, then you can search for an extention for developing J2ME applications using your existing IDEs.
There are other device specific J2ME toolkits provided by the device manufacturers. An important point to note here is that if you are using one of these toolkits such as Motorola's or Nokia's toolkit, is that there is a tradeoff in using these proprietary toolkits.
The advantage of using these proprietary toolkits is they are API rich and have many inbuilt device specific apis that can be used in your J2ME application. Motorola for example provides rich APIs to support their GPS enabled J2ME phones. Nokia's toolkit has many Games APIs to support their Nokia phones.
The disadvantage of using proprietary toolkits is that they are no more portable. But if you are targeting a specific model or make of phones or devices then using these toolkits are the way to go. However, if you are developing a J2ME program targeted towards a wide range of phones and devices then it is best to use the Sun Wireless toolkit.
In addition to these toolkits and manufacturer specific APIs, there are other third party APIs for specific functionalities. For instance, Symbol provides the APIs for its Barcode scanners. A J2ME device when attached to these barcode scanner will have to use this third party API to control it from a J2ME program
1. really nice and perfect ! thnak you very much for J2ME section !
View Tutorial By: arash at 2013-07-16 10:58:45
2. i build j2me application for reading text file.......
it runs on emulator but when i deployed
View Tutorial By: ganesh at 2012-10-17 10:34:00
3. nice its really understandable fr new developer thanks .....
View Tutorial By: radhi at 2011-07-30 19:12:36
View Tutorial By: Amarnath.A at 2011-07-14 00:32:08
5. good one
View Tutorial By: yogesh at 2010-07-24 21:18:24
6. Thank you , It is really good for beginners.
View Tutorial By: Satish Kumar at 2010-01-18 03:06:49
7. I need how to connect with database connection in j2me too, but i need this sample with Netbeans 6.7
View Tutorial By: BenGunn at 2010-01-12 03:33:44
8. i need How to connect with database connection in j2me Apps
View Tutorial By: Renjit at 2010-01-04 01:54:25
9. really really very good
and always forward >>>>>>>
View Tutorial By: bade3 at 2010-01-01 18:52:15
10. really good
View Tutorial By: ammu at 2009-11-04 05:07:45
11. really good
View Tutorial By: ammu at 2009-11-04 05:07:14
View Tutorial By: yeoh at 2009-04-18 21:32:36
Comment on this tutorial
- Data Science
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Code sample to Send SMS from a J2ME application.
Adding your own Application icon for your J2ME application (jar file)
Play a multimedia file in J2ME Program (Audio/Video) using MMAPI
Using HttpConnection in J2ME (Retrieve web content from a website to a phone)
Using HTTP vs UDP vs Socket in J2ME
RMSCookieConnector - Using Cookies in J2ME
Client Server in J2ME (Socket Programming sample)
Datagrams in J2ME (UDP Programming sample)
POST UTF-8 encoded data to the server in J2ME
Using alerts and tickers in J2ME
Using List to create a Menu and Menu items in J2ME
lists, forms, choices, gauges, text fields, text boxes in J2ME
Timer and TimerTask example in J2ME
J2ME Canvas sample to show games programming in J2ME