14

SMS Messaging as GSM Extension

14 SMS Messaging as GSM Extension

The SMS APIs for J2ME environment enable the following functionality:

Creating an SMS message

Sending an SMS message

Viewing an SMS message

Deleting an SMS message

The SMS APIs support the following contents to be sent over SMS:

Text message

Audio files: .au, .midi. .wav, .mp3

Image files: .png, .gif

The SMS messages for each MIDlet are managed by the MIDlet.

Creating a Message

The API enables creating of SMS messages. The addressing is compliant with the standard SMS addressing as specified in the GSM standards. The content of the message can be constructed using one or more of the content types specified in chapter 10 of this document.

Sending a Message

The SMS API provides a way to send a message to the appropriate SMS address. Any errors while sending the message should be handled appropriately.

63

Page 63
Image 63
Motorola C381P technical manual SMS Messaging as GSM Extension, Creating a Message, Sending a Message