Archived:How to create and send SMS messages on S60 devices
How to create and send SMS messages on S60 devices
Writing an SMS-capable application is fairly easy with help of the current example applications available at Nokia Developer. There are two possibilities available to a developer, depending on the targeted platform. On earlier S60 and Series 80 devices developers are bound to use a client MTM API. S60 3rd Edition introduces an additional higher-level, easier to use API.
On S60 2nd Edition and Series 80 platforms SMS client applications have to use the SMS Client MTM directly for message sending. On earlier platform this posed lots of problems for developers as part of the required API was not available on public SDKs. This was however corrected on S60 2nd Edition and S80 2nd Edition SDKs.
The S60 Platform: SMS Example available at Nokia Developer shows step-by-step how to create and send an SMS message.
On S60 3rd Edition messaging becomes easier than ever thanks to the new SendAs API. This is a wrapper API on top of the messaging client MTMs - and it is easy to use. Using this API your application can gain access not only to SMS messaging but to all supported messaging protocols.
S60 3rd Edition supports also the old school way of using the MTMs directly.
The S60 Platform: SMS Example demonstrates both the MTM approach and the new SendAs approach.
Nokia Developer Messaging examples (C++)
Messaging discussion on Nokia Developer C++ developer's board
Messaging Framework section in SDK help