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...
Supported from 6.0
Operations on TP-UD User Data.
Defined in TSmsUserDataSettings:
Alphabet(), ESmsFlagCompressed, ESmsFlagConcatenated, ESmsFlagConcatenatedUsing16BitReference
ExternalizeL(), InternalizeL(), SetAlphabet(), SetTextCompressed(), SetTextConcatenated(),
TSmsUserDataSettings(), TSmsUserDataSettingsFlags, TextCompressed(), TextConcatenated(),
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...
Platform: Symbian OS v6.0, Symbian OS v6.1, Symbian OS v7.0, Symbian OS 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