ملخص المحتوى في الصفحة رقم 1
Technical Manual
Motorola C381p Handset
J2ME™ Developer Guide
Version 01.00
ملخص المحتوى في الصفحة رقم 2
Table of Contents Table of Contents TABLE OF CONTENTS ............................................................................................................................... 2 TABLE OF FIGURES.................................................................................................................................. 6 INDEX OF TABLES .................................................................................................................................... 7 TABL
ملخص المحتوى في الصفحة رقم 3
Table of Contents JAVA.LANG SUPPORT................................................................................................................................. 29 8 NETWORK APIS .................................................................................................................................... 30 NETWORK CONNECTIONS............................................................................................................................. 30 USER PERMISSION ..........
ملخص المحتوى في الصفحة رقم 4
Table of Contents CANVAS FUNCTIONALITY........................................................................................................................... 65 HARDWARE MAPPING .................................................................................................................................. 67 16 ONE-CLICK APPLICATION ACCESS............................................................................................ 71 APPLICATION RESOURCES.............................
ملخص المحتوى في الصفحة رقم 5
Table of Contents 27 JAVA SYSTEM MENU....................................................................................................................... 103 MIDLET MANAGER MENU ......................................................................................................................... 103 View MIDlet Suite Information....................................................................................... 104 DELETING MIDLET SUITES...........................................
ملخص المحتوى في الصفحة رقم 6
Table of Figures Table of Figures Figure 1 Java Platform.........................................................................................15 Figure 2 Active Global Commands - Back, Cancel, OK, Help & Stop ........................................................................................................................................69 Figure 3 Active Global Commands - Cancel, Screen, OK, Help & Stop ..........................................................................
ملخص المحتوى في الصفحة رقم 7
Index of Tables Index of Tables Table 1 Error Logs .................................................................................................22 Table 2 JAD file information............................................................................23 Table 3 Application management feature/class support for MIDP 2.0 ........................................................................................................................................25 Table 4 Java System menu ..
ملخص المحتوى في الصفحة رقم 8
Index of Tables Table 26 Security feature/class support for MIDP 2.0...................... 114 Table 27 Protected Functionality fot top line of prompt ............... 117 Table 28 Dialog Prompts for MIDP 2.0 Permission Types.................... 117 Table 29 Actions performed upon completion of signer certificate verification ............................................................................................................120 Table 30 MIDlet suite verification..................
ملخص المحتوى في الصفحة رقم 9
Table of Code Samples Table of Code Samples Code Sample 1 Java.lang support .....................................................................29 Code Sample 2 Socket Connection .....................................................................32 Code Sample 3 HTTPS Connection .......................................................................34 Code Sample 4 JSR 135 Mobile Media API ......................................................36 Code Sample 5 JSR 120 Wireless Messagi
ملخص المحتوى في الصفحة رقم 10
1 Introduction 1 Introduction Purpose This document describes the application program interfaces used to develop Motorola compliant Java™ 2 Platform, Micro Edition (J2ME™) applications for the C381p handset. Audience This document is intended for premium J2ME developers and specific carriers involved with the development of J2ME applications for the C381p handset. Disclaimer Motorola reserves the right to make changes without notice to any products or services described herein. “
ملخص المحتوى في الصفحة رقم 11
1 Introduction in connection with the ability or inability to use the Products, to the full extent these damages may be disclaimed by law. Some states and other jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, or limitation on the length of an implied warranty, so the above limitations or exclusions may not apply to you. This warranty gives you specific legal rights, and you may also have other rights, which vary from jurisdiction to juris
ملخص المحتوى في الصفحة رقم 12
1 Introduction Revision History Version Date Name Reason 00.01 November 09, 2004 C.E.S.A.R. Initial Draft Definitions, Abbreviations, Acronyms Acronym Description AMS Application Management Software API Application Program Interface. CLDC Connected Limited Device Configuration GPS Global Positioning System IDE Integrated Development Environment ITU International Telecommunication Union JAD Java Application Descriptor JAL Java Application Loader JAR Java Archiv
ملخص المحتوى في الصفحة رقم 13
1 Introduction RTOS Real Time Operating System SDK Software Development Kit SMS Short Message Service SMSC Short Messaging Service Center SU Subscribe Unit UI User Interface URI Unified Resource Identifier VM Virtual Machine WMA Wireless Messaging API Document Overview 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 defin
ملخص المحتوى في الصفحة رقم 14
1 Introduction Chapter 14 – SMS Messaging as GSM Extension: this chapter describes the SMS Access API. Chapter 15 – User Display Interface: this chapter describes the J2ME specific Canvas, Hardware Mapping and External Event Interaction functionality. Chapter 16 – One-Click Application Access: this chapter describes the used Java applications via the soft keys, navigation keys or smart keys Chapter 17 – Download MIDlet Through Browser: this chapter describes the performing any down
ملخص المحتوى في الصفحة رقم 15
2 J2ME Introduction 2 J2ME Introduction The Motorola C381p handset includes the Java™ 2 Platform, Micro Edition, also known as the J2ME platform. The J2ME 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 implementing the J2ME platform on devices like
ملخص المحتوى في الصفحة رقم 16
2 J2ME Introduction The Configuration Layer used in the Motorola C381p 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 J2ME, see the Sun™ J2ME documentation (http://java.sun.com/j2me/). The Motorola J2ME Platform Functionality not covered by the CLDC and MID
ملخص المحتوى في الصفحة رقم 17
2 J2ME Introduction Resources and API’s Available MIDP 2.0 will provide support to the following functional areas on the Motorola C381p handset: MIDP 2.0 • Application delivery and billing • Application lifecycle • Application signing model and privileged security model • End-to-end transactional security (HTTPS) • Networking • Persistent storage • Sounds • Timers • User Interface • File Image Support (.PNG, .JPEG, .GIF) Additional Functionality • WMA (JSR 120) • MMA (J
ملخص المحتوى في الصفحة رقم 18
3 Developing and Packaging J2ME Applications 3 Developing and Packaging J2ME Applications Guide to Development in J2ME Introduction to Development This appendix assumes the reader has previous experience in J2ME development and can appreciate the development process for Java MIDlets. This appendix will provide some information that a beginner in development can use to gain an understanding of MIDlets for J2ME handsets. There is a wealth of material on this subject on websites mai
ملخص المحتوى في الصفحة رقم 19
3 Developing and Packaging J2ME Applications in development of a MIDlet. The specifications listed above are designed to work upon devices that have these characteristics. Network conditions would only apply for networked applications such as streaming tickers, email clients, etc. In addition to the specifications, an array of tools is available to assist the development cycle. These range from the command line tools provided with Software Development Kits (SDK) from Sun (as of writin
ملخص المحتوى في الصفحة رقم 20
4 Downloading Applications 4 Downloading Applications Method of Downloading The option open to the developer for deploying the MIDlet to a physical Motorola device is OTA (over -the-air) downloading. OTA To use the OTA method, the developer will have a connection through a wireless network to a content server. This content server could be, for example, Apache (http://httpd.apache.org) which is free to use, deployable on multiple operating systems, and has extensive documentation on