I'm using Series60 sdk 1.2 (Symbian 6.1), how can I call this method ?
CSmsMessage->SetUserDataSettingsL( TSmsUserDataSettings )
I've included Gsmumsg.h and put gsmu.lib in the .mmp project file, but the
TSmsUserDataSettings is still unknown, why ?
This is from symbian 7 documentation...
Class TSmsUserDataSettings
Supported from 6.0
Description
Operations on TP-UD User Data.
Defined in TSmsUserDataSettings:
Alphabet(), ESmsFlagCompressed, ESmsFlagConcatenated,
ESmsFlagConcatenatedUsing16BitReference ExternalizeL(), InternalizeL(), SetAlphabet(), SetTextCompressed(), SetTextConcatenated(), TSmsUserDataSettings(), TSmsUserDataSettingsFlags, TextCompressed(), TextConcatenated(),
iAlphabet, iFlags
The class is supported from version 6, so why this class (and many others)
in 6.1 seem to doesn't exist? What's wrong?
You can find an example of the TSmsUserDataSettings use, following the link pointed from symbian.
Taken from symbian site...
http://www3.symbian.com/faq.nsf/bc23c8b8641ac65f802569fc0051e783/26311122aa6efa3080256d2c002c1667?OpenDocument
Number: FAQ-0876
Platform: Symbian OS v6.0, Symbian OS v6.1, Symbian OS v7.0, SymbianOS v7.0s
....
The book Symbian OS C++ for Mobile Phones
(http://www.symbian.com/books/scmp/scmp-info.html) provides a good example of how to do this for a peer-to-peer battleships game, with the "moves" being transmitted seemlessly over SMS. Chapter 20 ("GDP Implementations"😉 does exactly this