java left logo
java middle logo
java right logo
 

Home arrow Java ME Tips arrow MIDP arrow Getting Started with Java ME
 
 
Main Menu
Home
Java Tutorials
Book Reviews
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Java Network
Java Forums
Java Blog




Most Visited Tips
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Book Reviews
Top Rated Tips
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Book Reviews


Statistics
Registered Users: 3947
Java SE Tips: 614
Java ME Tips: 202
Java EE Tips: 183
Other API Tips: 779
Java Applications: 298
Java Libraries: 209
Java Games: 16
Book Reviews:
 
 
 
Getting Started with Java ME E-mail
User Rating: / 18
PoorBest 
To start with J2ME programming, first thing is to get our computer setup for development work. The steps listed below will help in building J2ME applications.

J2ME Development Tools.

Many development environment are used to develop and debug J2ME applications. J2ME Wireless Toolkit from Sun provides seamless environment for developing MIDLet Suites. It can be used as standalone or integrated with third party IDEs that provide support for J2ME. Several cellphone manufacturers provide their own development environments that can be used to develop and test MIDLets on their devices.

J2ME Specifications.

Wireless Toolkit 1.0 implementation is based on CLDC 1.0 and MIDP 1.0. Wireless Toolkit 2.0 implementation is based on CLDC 1.0/1.1 and MIDP 2.0. Later version supports backward compatibility and has many extra features. It will be good idea to install later version as it also supports optional JSR packages used for developing specific J2ME applications.

J2ME Emulators.

Wireless Toolkit comes with few default emulators. Many cell phone manufacturers produce their own device emulators that can be integrated with J2ME development environments.

Developing MIDLet Suites.

Wireless Toolkit is based around projects, that contains all the source files and resources for MIDLets.

  • Open Ktoolbar utility of wireless Toolkit.
  • Create new porject.
  • Supply project name, which will be used to create new directory to contain all of the project files, and MIDLet class name. By default the project directory is created under %Install_dir%/apps/project_name, where install_dir is directory where Wireless toolkit is installed.
  • Directory structure
    bin

    The toolkit uses this directory to store the manifest file for the JAR into which the MIDlet is packaged, the JAD file used to describe the MIDlet suite, and the MIDlet suite's JAR file itself.

    classes

    Contains the compiled class files for the MIDlet suite after they have been preverifed.

    src

    source code for your MIDlets.
    res

    Store resource files, such as images,that MIDlets in the MIDlet suite will need to access at runtime.

    tmpclasses

    It uses this directory to store compiled class files before they are preverified and copied into the classes directory.

    lib

    This directory can be used to hold JAR and ZIP files containing classes that are not part of the project you want to be incorporated when compiling,running, and packaging the MIDlet suite.

    tmplib

    This directory is used to hold copies of the JAR and ZIP files read from the project lib directory, in which the class files have been converted to their corresponding preverified forms.

  • Build and Run MIDLet.

Books on J2ME Programming


References


 Related Tips


 Related Tips

 
< Prev   Next >

Page 1 of 0 ( 0 comments )

You can share your information about this topic using the form below!

Please do not post your questions with this form! Thanks.


Name (required)


E-Mail (required)

Your email will not be displayed on the site - only to our administrator
Homepage(optional)



Comment Enable HTML code : Yes No



 
       
         
     
 
 
 
   
 
 
java bottom left
java bottom middle
java bottom right
RSS 0.91 FeedRSS 1.0 FeedRSS 2.0 FeedATOM FeedOPML Feed

Home - About Us - Privacy Policy
Copyright 2005 - 2008 www.java-tips.org
Java is a trademark of Sun Microsystems, Inc.