Here are two tutorials that show and teach you how to develop applications for Java wireless devices. Both use the Java Micro Edition to create these applications, which are called midlets. For a background on wireless Java technology, please read Introduction to Wireless.
Writing J2ME Applications in Linux
Here is a J2ME application tutorial that will help you write a program for you Java-enabled handheld device. It shows you how to write a simple Java 2 Micro Edition (J2ME) application on Linux and execute it on your mobile device, which in this case is a cell phone. Most cell phones allow you to install and run Java applications; to verify if your phone is supported, consult your documentation or search for the specs at the GSMArena Web site. To get started, you need to have the Java Development Kit (JDK) and the Sun Java Wireless Toolkit (WTK) installed on your system. For example purposes we'll use a Ubuntu Linux system; the instructions for other distributions should be similar.
Wireless Development Tutorial Part I and Part II
This wireless Java programming tutorial provides everything you will need to begin developing with the Java Micro Edition (Java ME) environment. Using this tutorial, you will learn the following:
* how to install the development tools,
* how to write your first Java ME application,
* how to build your application, and
* how to test the application in an emulator.
The wireless Java application is called a MIDlet, and it runs on the Mobile Information Device Profile, one of the Java ME specifications. In this tutorial you'll use Sun's Sun Java Wireless Toolkit for CLDC which is both free and lightweight. Most MIDlets connect to some type of network service, so Part II of this tutorial describes how to set up a servlet development environment and how to write, compile, and test a servlet. The final step is creating a MIDlet that makes a network connection to the servlet.
No comments:
Post a Comment