I am new to Symbian and this happens to be my first post..
I am developing a messaging app which listens to incoming SMS and as soon as new SMS arrives I need to extract the content of the SMS and write it to a file. For this I need to create a new file each time I have a new SMS with dynamic file names..
Can you please help me with my WriteToFile().. at the moment i am simply replacing the file existing with a new file with same name and writing the content of the SMS.. But how can I create new file each time I get a new sms with say incrementing name..
void CSMSEngine::WriteToFile(const TPtrC8& aSMSContent8)
User::LeaveIfError(file.Replace(iFs, KFileSpec, EFileWrite));
Can u plz post me any suggestions r examples of such operation..