beautypg.com

14 sms messaging as gsm extension, Creating a message, Sending a message – Motorola HANDSET C381P User Manual

Page 63

background image

14
SMS
Messaging as GSM Extension

63

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.