Receiving Messages

Symbian OS-based phones typically provide support for several different messaging technologies - built-in applications allow users to send and receive email, SMS and MMS messages. It is possible for third-party applications to use and extend this messaging functionality in order to add new and innovative features. Some possible messaging-aware applications might include:

• an email management application that filters and arranges received email messages

• a subscription service that receives a news report over MMS and renders it using a custom application

• a multiplayer game that uses a messaging transport (such as SMS) to send moves between handsets

• a video SMS ringtone application which plays a movie clip every time an SMS message is received.

This chapter explains how to use the messaging functionality in Symbian OS-based devices. It introduces the key messaging concepts in Symbian OS and covers the following:

• The Symbian OS message store

• The message server and the associated client APIs

• Listing messages in the message store

• Extracting summary information from received messages (e.g., the sender and subject)

• Waiting for new received email and SMS messages to appear in the inbox

• Intercepting SMS messages before they reach the inbox.

Using the SendAs functionality, which builds on top of the messaging framework, is covered in Chapter 9. Chapter 9 also covers extending the messaging framework with a new set of Message Type Modules (MTMs) to add a new type of transport for SendAs.

SMS Messaqes:

End vn work Hello aqai n

Tani s New shoes

Eni vn Testinq that app

Enai I Mes s aaes:

eni vnhowel I Can vou read this? end vnhoiwl I Hel I o aqai n eni vnhowel I Hel I o leather Report:

Figure 8.1 The summary screen application in action

0 0

Post a comment

  • Receive news updates via email from this site