Motorola i88s manual Motorola Inc I88s J2ME Developers’ Guide

Page 29

Motorola Inc.

i88s J2ME Developers’ Guide

MOTOROLA, the Stylized M Logo and all other trademarks indicated as such herein are trademarks of Motorola, Inc. ® Reg. U.S. Pat. & Tm. Off. © 2002 Motorola, Inc. All rights reserved.

Microsoft and, Microsoft WEB Explorer, are registered trademarks of Microsoft Corporation.

Java and all other Java-based marks are trademarks or registered trademarks of Sun

Microsystems, Inc. in the U.S. and other countries.

All other product or service names mentioned in this manual are the property of their respective

trademark owners.

Software Copyright Notice

The Motorola products described in this manual may include copyrighted Motorola and third party software stored in semiconductor memories or other media. Laws in the United States and other countries preserve for Motorola and third party software providers certain exclusive rights for copyrighted software, such as the exclusive rights to distribute or reproduce the copyrighted software. Accordingly, any copyrighted software contained in the Motorola products may not be modified, reverse-engineered, distributed, or reproduced in any manner to the extent allowed by law. Furthermore, the purchase of the Motorola products shall not be deemed to grant either directly or by implication, estoppel, or otherwise, any license under the copyrights, patents, or patent applications of Motorola or any third party software provider, except for the normal, non-exclusive, royalty-free license to use that arises by operation of law in the sale of a product.

Version 1.0 - Page 29

Image 29
Contents I88s Multi-Communication Device J2ME Developers’ Guide J2ME Networking Disclaimer Document OverviewAcronyms Used In This Guide Terminology Definition Contact InformationAcronyms and Definitions Overview Agps On The i88s PhoneAssist Data Position APIAccuracy Example PositionConnection ClassAlmanac Out Of Date Retrieving Position in Java Method DescriptionsGetPosition GetPositionString nameGetStatus Using Position in JavaExample Using PositionConnection Positionresponsenoalmanacoverride Addition, to obtain better accurate speed and direction Recommendation Http Https J2ME NetworkingClass Descriptions Supported Protocols on the i88s Phone HttpHttps ServerSockets TCP SocketsSSL Secure Sockets UDP Sockets Serial Port AccessCommunicating on a Port Connection Optional ParametersImplementation Notes Example using StreamConnectionConcurrent Connections For The i88s Phone Protocol Maximum TipsMethod Descriptions Opening a file File I/OClass Description Code Examples Deleting a fileReading and Writing Example # 2 Complete MIDlet code Motorola Inc I88s J2ME Developers’ Guide Os = sc.openOutputStream //get InputStream Sc.close Caveats Motorola Inc I88s J2ME Developers’ Guide
Related manuals
Manual 43 pages 17.94 Kb