Book description
Learning Wireless Java is for Java developers who want to quickly come up to speed and create applications for the Micro Edition audience. This book covers the Connected, Limited Device Configuration and the Mobile Information Device Profile (MIDP), both currently available from Javasoft. The CLDC contains APIs for small devices that are constrained by both memory and processing power. MIDP builds on top of the CLDC and adds APIs specifically for devices such as mobile phones and pagers, allowing programmers to create MIDlet applications. This book offers a solid introduction to J2ME and MIDP, including an explanation of the J2ME Wireless Toolkit, the MIDlet lifecycle methods, the Java application manager, and the CLDC and MIDP constraints. In addition, we cover the javax.microedition.io, javax.microedition.rms, javax.microedition.lcdui, and javax.microedition.midlet classes, as well as the modified java.lang, java.io, and java.util classes. Discussion centers around building safe, compact applications with the sophisticated graphical interface, database, and networking capabilities that the J2ME supports. In addition, this book also shows you how to download your applications to the latest J2ME-enabled devices, including the Motorola i50x and i85s phones and upgraded Palm handhelds.
Table of contents
-
Wireless Java
- Preface
-
I. Introducing Java 2 Platform, Micro Edition (J2ME)
- 1. Overview of J2ME
- 2. The Connected Limited Device Configuration (CLDC)
- 3. The Mobile InformationDevice Profile (MIDP)
-
II. Programming with the CLDCand the MIDP
- 4. Working with MIDlets
- 5. MIDP GUI Programming
- 6. MIDP Events
- 7. Networking
- 8. Database Programming
- 9. The MIDP for Palm OS
-
III. API Quick Reference
-
A. The java.io Package
- java.io.ByteArrayInputStream
- java.io.ByteArrayOutputStream
- java.io.DataInput
- java.io.DataInputStream
- java.io.DataOutput
- java.io.DataOutputStream
- java.io.EOFException
- java.io.InputStream
- java.io.InputStreamReader
- java.io.InterruptedIOException
- java.io.IOException
- java.io.OutputStream
- java.io.OutputStreamWriter
- java.io.PrintStream
- java.io.Reader
- java.io.UnsupportedEncodingException
- java.io.UTFDataFormatException
- java.io.Writer
-
B. The java.lang Package
- java.lang.ArithmeticException
- java.lang.ArrayIndexOutOfBoundsException
- java.lang.ArrayStoreException
- java.lang.Boolean
- java.lang.Byte
- java.lang.Character
- java.lang.Class
- java.lang.ClassCastException
- java.lang.ClassNotFoundException
- java.lang.Error
- java.lang.Exception
- java.lang.IllegalAccessException
- java.lang.IllegalArgumentException
- java.lang.IllegalMonitorStateException
- java.lang.IllegalStateException
- java.lang.IllegalThreadStateException
- java.lang.IndexOutOfBoundsException
- java.lang.InstantiationException
- java.lang.Integer
- java.lang.InterruptedException
- java.lang.Long
- java.lang.Math
- java.lang.NegativeArraySizeException
- java.lang.NullPointerException
- java.lang.NumberFormatException
- java.lang.Object
- java.lang.OutOfMemoryError
- java.lang.Runnable
- java.lang.Runtime
- java.lang.RuntimeException
- java.lang.SecurityException
- java.lang.Short
- java.lang.String
- java.lang.StringBuffer
- java.lang.StringIndexOutOfBoundsException
- java.lang.System
- java.lang.Thread
- java.lang.Throwable
- java.lang.VirtualMachineError
- C. The java.util Package
-
D. The javax.microedition.io Package
- javax.microedition.io.Connection
- javax.microedition.io.ContentConnection
- javax.microedition.io.Datagram
- javax.microedition.io.DatagramConnection
- javax.microedition.io.HttpConnection
- javax.microedition.io.InputConnection
- javax.microedition.io.OutputConnection
- javax.microedition.io.StreamConnection
- javax.microedition.io.StreamConnectionNotifier
- javax.microedition.io.Connector
- javax.microedition.io.ConnectionNotFoundException
-
E. The javax.microedition.lcdui Package
- javax.microedition.lcdui.Choice
- javax.microedition.lcdui.CommandListener
- javax.microedition.lcdui.ItemStateListener
- javax.microedition.lcdui.Alert
- javax.microedition.lcdui.AlertType
- javax.microedition.lcdui.Canvas
- javax.microedition.lcdui.ChoiceGroup
- javax.microedition.lcdui.Command
- javax.microedition.lcdui.DateField
- javax.microedition.lcdui.Display
- javax.microedition.lcdui.Displayable
- javax.microedition.lcdui.Font
- javax.microedition.lcdui.Form
- javax.microedition.lcdui.Gauge
- javax.microedition.lcdui.Graphics
- javax.microedition.lcdui.Image
- javax.microedition.lcdui.ImageItem
- javax.microedition.lcdui.Item
- javax.microedition.lcdui.List
- javax.microedition.lcdui.Screen
- javax.microedition.lcdui.StringItem
- javax.microedition.lcdui.TextBox
- javax.microedition.lcdui.TextField
- javax.microedition.lcdui.Ticker
- F. The javax.microedition.midlet Package
-
G. The javax.microedition.rms Package
- javax.microedition.rms.RecordComparator
- javax.microedition.rms.RecordEnumeration
- javax.microedition.rms.RecordFilter
- javax.microedition.rms.RecordListener
- javax.microedition.rms.RecordStore
- javax.microedition.rms.RecordStoreException
- javax.microedition.rms.InvalidRecordIDException
- javax.microedition.rms.RecordStoreFullException
- javax.microedition.rms.RecordStoreNotFoundException
- javax.microedition.rms.RecordStoreNotOpenException
- H. Resources
-
A. The java.io Package
- Index
- Colophon
Product information
- Title: Wireless Java
- Author(s):
- Release date: January 2002
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596002435
You might also like
book
Wireless J2ME™ Platform Programming
The authoritative tutorial for wireless J2ME application developers. The essential tutorial for every J2ME platform developer: …
book
J2ME in a Nutshell
To the experienced Java developer, J2ME (the Java 2 Micro Edition) looks just familiar enough to …
book
Programming Wireless Devices with the Java™ 2 Platform, Micro Edition, Second Edition
This book presents the Java™ 2 Platform, Micro Edition (J2ME™) standards that support the development of …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …