Resumen del contenido incluido en la página 1
MOTORAZR maxx V6
Java ME Developer Guide
Version 00.02
DRAFT - Subject to Change
Resumen del contenido incluido en la página 2
Table of Contents TABLE OF CONTENTS ............................................................................2 INDEX OF TABLES ...............................................................................8 INDEX OF FIGURES ........................................................................... 10 INDEX OF CODE SAMPLES .................................................................. 11 1 Introduction .................................................................................. 12
Resumen del contenido incluido en la página 3
7.1 OVERVIEW.................................................................................... 40 7.2 JSR-82 BLUETOOTH API ................................................................... 40 7.2.1 SYSTEM REQUIREMENTS ................................................................ 40 7.2.2 BLUETOOTH CONTROL CENTER ......................................................... 41 7.2.3 DEVICE PROPERTY TABLE............................................................... 41 7.2.4 SERVICE REGISTRATI
Resumen del contenido incluido en la página 4
9.2 SMS CLIENT MODE AND SERVER MODE CONNECTION..................................... 64 9.3 SMS PORT NUMBERS........................................................................ 65 9.4 SMS STORING AND DELETING RECEIVED MESSAGES ...................................... 66 9.5 SMS MESSAGE TYPES....................................................................... 66 9.6 SMS MESSAGE STRUCTURE ................................................................. 66 9.7 SMS NOTIFICATION ................
Resumen del contenido incluido en la página 5
13.2 MOBILE 3D API...........................................................................100 13.3 MOBILE 3D API FILE FORMAT SUPPORT .................................................101 13.4 MOBILE 3D GRAPHICS - M3G API ......................................................101 13.4.1 TYPICAL M3G APPLICATION .........................................................101 13.4.2 SIMPLE MIDLETS.....................................................................102 13.4.3 INITIALIZING THE WORLD ...
Resumen del contenido incluido en la página 6
16.2 UPDATE CERTIFICATES ON THE SIM......................................................126 16.3 PROCEDURE FOR VIEWING/ENABLING/DELETING/DISABLING A CERTIFICATE ............126 16.4 ROAMING/CHANGE OF SIM CARD ........................................................128 17 Prevent Downloading of Large Java MIDlets................................... 130 17.1 OVERVIEW .................................................................................130 17.2 NOTIFICATION .............................
Resumen del contenido incluido en la página 7
26.1 INTELLIGENT KEYPAD TEXT ENTRY API ..................................................180 27 Java.lang Implementation ........................................................... 182 27.1 JAVA.LANG SUPPORT.......................................................................182 28 CommConnection Interface.......................................................... 183 28.1 COMMCONNECTION........................................................................183 28.2 ACCESSING ..................
Resumen del contenido incluido en la página 8
Index of Tables Table 1 References.............................................................................. 14 Table 2 Revision History ....................................................................... 14 Table 3 Definitions, Abbreviations, Acronyms ............................................. 16 Table 4 USER_AGENT String.................................................................. 28 Table 5 Error Logs ............................................................................
Resumen del contenido incluido en la página 9
....................................................................................................... 81 Table 26 javax.microedition.io.Connector.open() BNF syntax ......................... 89 Table 27 RMS feature/class ..................................................................146 Table 28 Gaming and keypad feature/class support for MIDP .......................149 Table 29 Network API feature/class support for MIDP .................................151 Table 30 Platform Request API feat
Resumen del contenido incluido en la página 10
Index of Figures Figure 1 Java™ ME Architecture ............................................................. 20 Figure 2 JavaSystem Menu ................................................................... 24 Figure 3 MIDway "Java Tool" menu ......................................................... 27 Figure 4 Pressing of End Key ................................................................. 47 Figure 5 Examples Screens ................................................................... 47 Fi
Resumen del contenido incluido en la página 11
Index of Code Samples Code Sample 1 JSR-120 WMA ............................................................... 68 Code Sample 2 JSR-135 MMA................................................................ 73 Code Sample 3 Request for Access Algorithm ............................................ 97 Code Sample 4 Initializing the world ......................................................105 Code Sample 5 Using the Graphics3D object ............................................105 Code Sample 6 Fi
Resumen del contenido incluido en la página 12
Java ME Developer Guide Chapter 1 - Introduction 1 Introduction 1.1 Purpose This document describes the application program interfaces used to develop Motorola compliant Java™ Platform, Micro Edition (Java ME) applications for the MOTORAZR maxx V6 handset supporting CLDC 1.1. For more detailed information see Section 3.1.1. 1.2 Audience This document is intended for general Java ME developers involved in the production of Java ME applications for the MOTORAZR maxx V6 handset. 1.3 Disclaimer Moto
Resumen del contenido incluido en la página 13
Java ME Developer Guide Chapter 1 - Introduction applicable law. Otherwise, they are specifically excluded. No warranty is made as to coverage, availability, or grade of service provided by the products or services, whether through a service provider or otherwise. No warranty is made that the software will meet your requirements or will work in combination with any hardware or application software products provided by third parties, that the operation of the software products will be uninterrupt
Resumen del contenido incluido en la página 14
Java ME Developer Guide Chapter 1 - Introduction Motorola recommends that if you are not the author or creator of the graphics, video, or sound, you obtain sufficient license rights, including the rights under all patents, trademarks, trade names, copyrights, and other third party proprietary rights. 1.4 References Reference Link Borland http://www.borland.com/ GSM 03.38 standard http://www.etsi.org GSM 03.40 standard http://www.etsi.org IBM http://www.ibm.com/ JSR http://www.jcp.org MOTODEV htt
Resumen del contenido incluido en la página 15
Java ME Developer Guide Chapter 1 - Introduction Acronym Description (U)SAT Universal SIM Application Toolkit AID Application Identifier AMS Application Management Software APDU Application Protocol Data Unit API Application Program Interface BCC Bluetooth Control Center BMP Windows BitMap Format (image extension '.bmp') CLDC Connected Limited Device Configuration DNS Domain Name System GIF Graphics Interchange Format (image extension '.gif') GPRS General Packet Radio Service GPS Global Position
Resumen del contenido incluido en la página 16
Java ME Developer Guide Chapter 1 - Introduction PKI Public-Key Infrastructure PNG Portable Network Graphics (image extension '.png') RFC Request for Comments RFCOMM Radio Frequency Communication-Bluetooth protocol that provides emulation of RS-232 (serial) connection RMS Record Management System RUIM Removable User Identity Module SAR Segmentation & Reassembly SAT SIM Application Toolkit SATSA Security and Trust Services API SDAP Service Discovery Application Profile SDDB Service Discovery Data
Resumen del contenido incluido en la página 17
Java ME Developer Guide Chapter 1 - Introduction This developer's guide is organized into the following chapters and appendixes: Chapter 1 - Introduction: This chapter has general information about this document, including purpose, scope, references, and definitions. Chapter 2 - Java ME Introduction: This chapter describes the Java ME platform and the available resources on this Handset. Chapter 3 - Developing and Packaging Java ME Applications: This chapter describes important features to look
Resumen del contenido incluido en la página 18
Java ME Developer Guide Chapter 1 - Introduction Chapter 17 - Prevent Downloading of Large Java MIDlets: This feature makes flexible way of preventing the large JAR files OTA download. Chapter 18 - Download Midlet through PC: This chapter describes download MIDlets through a PC. Chapter 19 - Downloading MIDlet through Browser: This chapter describes the performing any downloads on the handset. Chapter 20 - Record Management System: This chapter describes the Record Management System API. Chapter
Resumen del contenido incluido en la página 19
Java ME Developer Guide Chapter 2 - Java ME Introduction 2 Java ME Introduction The MOTORAZR maxx V6 handset includes the Java™ Platform, Micro Edition, also known as the Java ME platform. The Java ME platform enables developers to easily create a variety of Java™ applications ranging from business applications to games. Prior to its inclusion, services or applications residing on small consumer devices like cell phones could not be upgraded or added to without significant effort. By imple- ment
Resumen del contenido incluido en la página 20
Java ME Developer Guide Chapter 2 - Java ME Introduction typically encompassing the presentation layer of the Java™ Platform. Figure 1 Java™ ME Architecture The Configuration Layer used in the MOTORAZR maxx V6 handset is the Connected Limited Device Configuration 1.1 (CLDC 1.1) and the Profile Layer used is the Mobile Information Device Profile 2.0 (MIDP 2.0). Together, the CLDC and MIDP provide common APIs for I/O, simple math functionality, UI, and more. For more information on Java™ ME, see t