October 2003
Java™ Support in Sony
Ericsson Mobile Phones
Developers Guideline Java support in Sony Ericsson mobile phones
2 October 2003
This document is published by Sony Ericsson
Mobile Communications AB, without any
warranty*. Improvements and changes to this text
necessitated by typographical errors, inaccuracies
of current information or improvements to
programs and/or equipment, may be made by
Sony Ericsson Mobile Communications AB at any
time and without notice. Such changes will,
however, be incorporated into new editions of this
document. Printed versions are to be regarded as
temporary reference copies only.
*All implied warranties, including without limitation
the implied warranties of merchantability or fitness
for a particular purpose, are excluded. In no event
shall Sony Ericsson or its licensors be liable for
incidental or consequential damages of any
nature, including but not limited to lost profits or
commercial loss, arising out of the use of the
information in this document.
These Developers Guidelines are published by:
Sony Ericsson Mobile Communications AB,
SE-221 88 Lund, Sweden
Phone: +46 46 19 40 00
Fax: +46 46 19 41 00
www.SonyEricsson.com
© Sony Ericsson Mobile Communications AB,
2003. All rights reserved. You are hereby granted
a license to download and/or print a copy of this
document.
Any rights not expressly granted herein are
reserved.
Second edition (October 2003)
Publication number: EN/LZT 108 6483 R3A
Preface
Purpose of this document
This document describes how to implement Java™-based applications in Sony Ericsson mobile phones.
The document is intended for developers of Java applications who want an insight into Sony Ericsson
mobile phones. It also illustrates for network operators the advanced capabilities and revenue generating
potential of Java applications within those phones.
People who can benefit from this document are:
• Software developers
• Operators and service providers
• Content providers
It is assumed that the reader is familiar with Java.
More information, useful for product, service, and application software developers, is published on the
Sony Ericsson Developer World Web site
at www.SonyEricsson.com/developer/, which contains up-to-
date information about technologies, products, and tools.
Developers Guideline Java support in Sony Ericsson mobile phones
3 October 2003
Document conventions
Terminology and abbreviations
API
Application Programming Interface
AWT
Abstract Windowing Toolkit
CDC
Connected Device Configuration. A J2ME configu-
ration for PDAs.
CLDC
Connected Limited Device Configuration. A J2ME
configuration for mobile phones.
DRM
Digital Rights Management.
GSM
Global System for Mobile Communications. GSM
is the world’s most widely used digital mobile
phone system, now operating in over 100 countries
around the world, particularly in Europe and Asia-
Pacific.
HTTP
HyperText Transfer Protocol.
IDE
Integrated Development Environment.
J2EE
Java 2 Platform, Enterprise Edition.
J2ME
Java 2 Platform, Micro Edition. A Java platform tar-
geting “micro” devices with small processors and
memory capacities, such as mobile phones, com-
municators and PDAs.
J2SE
Java 2 Platform, Standard Edition.
JSR
Java Specification Request.
JVM
Java Virtual Machine.
kJava
An older term for J2ME, CLDC/MIDP.
KVM
K Virtual Machine.
MIDP
Mobile Information Device Profile. A J2ME profile
connected to the CLDC for mobile phones.
MMAPI
Mobile Media Application Programming Interface.
OS
Operating System.
OTA
Over-the-Air.
PDA
Personal Digital Assistant.
pJava
PersonalJava.
SDK
Software Development Kit. A collection of tools
used to develop applications.
SMS
Short Message Service. Allows messages of up to
160 characters to be sent and received in a mobile
phone via the network operator’s message centre.
URL
Uniform Resource Locator.
WAP
Wireless Application Protocol.
WMA
Wireless Messaging API.
WTK
Wireless Toolkit.
Developers Guideline Java support in Sony Ericsson mobile phones
4 October 2003
Document history
Trademarks and acknowledgements
Sun, Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun
Microsystems, Inc. in the U.S. and other countries.
Symbian and all Symbian-based marks and logos are trademarks of Symbian Limited.
Borland, the Borland Logo and Jbuilder are trademarks or registered trademarks of Borland Software Cor-
poration in the United States and other countries.
Metrowerks and CodeWarrior are trademarks or registered trademarks of Metrowerks Corp.
Bluetooth is a trademark or registered trademark of Bluetooth SIG, Inc.
All other trademarks and copyrights are the property of their respective owners.
Change history
2003-05-21 Version R1A First Edition
2003-08-30 Version R2A Second Edition. Added information for Z600
and T616 support. New information about
JSR 120.
2003-10-22 Version R3A Information about T630, Z608, T618 added,
updated info regarding command types, ter-
minology changes, errors corrected.
Developers Guideline Java support in Sony Ericsson mobile phones
5 October 2003
Online Developer Resources
On Sony Ericsson Developer World, developers will find all documentation and tools such as phone White
Papers, Developers Guidelines, SDKs and APIs etc. The developer Web site also contains discussion
forums monitored by our Sony Ericsson Developer Support team, a searcheable Knowledge Base of sup-
port queries and solutions, Tips & Tricks, example code, and so on. To stay up to date on development
issues, register and subscribe to the monthly Sony Ericsson Developer Newsletter.
Sony Ericsson Developer Support
Sony Ericsson offers developers professional technical support services. The service can be purchased
from the developer web portal, as part of the Sony Ericsson Core and Core+ membership package, or as
individual support incidents. There are two levels of support included in the memberships:
The Basic E-mail Developer Support is an annual support service included in the Core membership that
provides developers with all the basics to successfully develop world class applications for Sony Ericsson
products. With this support contract, developers get access to Sony Ericsson developer support engi-
neers via e-mail with same-day response, five technical support incidents as well as the ability to pur-
chase more.
The Priority E-mail Developer Support is an annual support service included in the Core+ membership
that equips professional developers with everything they need to successfully develop world-class appli-
cations for Sony Ericsson products. With this support contract, developers get priority access to Sony
Ericsson developer support engineers via e-mail with fast response times and up to 50 technical support
incidents.