Motorola i88s manual J2ME Networking

Page 2

Motorola Inc.

i88s J2ME Developers’ Guide

TABLE OF CONTENTS

 

DOCUMENT OVERVIEW

3

DISCLAIMER

3

CONTACT INFORMATION

4

ACRONYMS AND DEFINITIONS

4

1 AGPS ON THE I88S PHONE

5

1.1

Overview

5

1.2

The Position API

6

1.3

PositionConnection Class

7

1.4

Recommendation

13

2

J2ME NETWORKING

14

2.1

Overview

14

2.2

Class Descriptions

15

2.3

Implementation Notes

20

2.4

Tips

21

3

FILE I/O

22

3.1

Overview

22

3.2

Class Description

22

3.3

Method Descriptions

22

3.4

Code Examples

23

3.5

Tips

27

3.6

Caveats

28

Version 1.0 - Page 2

Image 2
Contents I88s Multi-Communication Device J2ME Developers’ Guide J2ME Networking Document Overview DisclaimerAcronyms Used In This Guide Terminology Definition Contact InformationAcronyms and Definitions Agps On The i88s Phone OverviewAssist Data Position APIAccuracy Example PositionConnection ClassAlmanac Out Of Date GetPosition Method DescriptionsRetrieving Position in Java GetPositionString nameUsing Position in Java GetStatusExample Using PositionConnection Positionresponsenoalmanacoverride Addition, to obtain better accurate speed and direction Recommendation J2ME Networking Http HttpsClass Descriptions Supported Protocols on the i88s Phone HttpHttps ServerSockets TCP SocketsSSL Secure Sockets Serial Port Access UDP SocketsConnection Optional Parameters Communicating on a PortExample using StreamConnection Implementation NotesTips Concurrent Connections For The i88s Phone Protocol MaximumMethod 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