Read-only archive of the All About Symbian forum (2001–2013) · About this archive

sms - convertion from UIQ to Series 60

2 replies · 1,392 views · Started 28 July 2004

Hi
please advise ,
I use this code in the UIQ , the CSmsMessage and TSmsUserDataSettings are not included in the Series 60 as I understand , what can I replace them with ???


iSmsMsg = CSmsMessage::NewL(iFs, CSmsPDU::ESmsSubmit, smsBuffer);
TSmsUserDataSettings smsSettings;
smsSettings.SetAlphabet(TSmsDataCodingScheme::ESmsAlphabet7Bit);
smsSettings.SetTextCompressed(EFalse);
iSmsMsg->SetUserDataSettingsL(smsSettings);
iSmsMsg->SetToFromAddressL(aAddress);

addition :
next I use this code in the UIQ , the RSmsSocketWriteStream also doesnt seem to be included in the Series 60 ...
what can I use to replace this code with ?
*** is my only option to create a whole new code of the MTM implementation ? It seems so complex 😞

RSmsSocketWriteStream writeStream(iSocket);
writeStream << *(iSmsMsg);

Please, may you submit an entire version of how to send a SMS with UIQ? Thanks in advance
Francisco Ramos