Jsr 120 - Wireless Messaging Api; Wireless Messaging Api (Wma); Sms Client Mode And Server Mode Connection - Motorola C381P J2ME Technical Manual

J2me developer guide
Table of Contents

Advertisement

10
JSR 120 – Wireless Messaging API
JSR 120 – Wireless Messaging

Wireless Messaging API (WMA)

Motorola has implemented certain features that are defined in the Wireless Messaging
API (WMA) 1.0. The complete specification document is defined in JSR 120.
The JSR 120 specification states that developers can be provided access to send (MO –
mobile originated) and receive (MT – mobile terminated) SMS (Short Message Service)
on the target device.
A simple example of the WMA is the ability of two J2ME applications using SMS to
communicate game moves running on the handsets. This can take the form of chess
moves being passed between two players via the WMA.
Motorola in this implementation of the specification supports the following features.

SMS Client Mode and Server Mode Connection

The Wireless Messaging API is based on the Generic Connection Framework (GCF),
which is defined in the CLDC specification 1.0. The use of the "Connection" framework, in
Motorola's case is "
The
MessageConnection
connection is opened by providing a URL that specifies an identifier (port number) for an
application on the local device for incoming messages.
Creating a SMS
Sending a SMS
Receiving a SMS
Viewing a SMS
Listening to a SMS
MessageConnection
can be opened in either server or client mode. A server
".
10
API
41

Advertisement

Table of Contents
loading

Table of Contents