Actually it does not exist yet, I'm trying to write it. But I need your help: I must decode files stored in c:\system\mail, which actually hold the messages. c:\system\mail\INDEX file is actually not needed to store SMS on the PC, as it only contains partial info. But the single files in c:\system\mail folder structure are what I need: I can identify the message body and the sender number; I miss the "sent date" (I only analyzed received messages). If somebody here can get which format the date is stored in, it should be quite simple for me to write the program.
I suspect the date info is stored in 4 or 6 bytes, 31 bytes far from file-end. Can anybody confirm? Which is exactly the format used?
Thanks for your help.
If you are planning to run your application on the handset itself, you should consider using the Symbian Message-Server-API.
http://www.symbian.com/developer/techlib/v70sdocs/doc_source/reference/cpp/MessagingArchitecture/index.html
the_geek wrote:If you are planning to run your application on the handset itself, you should consider using the Symbian Message-Server-API.http://www.symbian.com/developer/techlib/v70sdocs/doc_source/reference/cpp/MessagingArchitecture/index.html
Unfortunately I can't write Symbian c++ programs. Any tips for OPL or Java? I need a ready-made function which returns date from an 8 bytes string representing microseconds elapsed since... I don't know! :frown:
cassioli wrote:Unfortunately I can't write Symbian c++ programs. Any tips for OPL or Java? I need a ready-made function which returns date from an 8 bytes string representing microseconds elapsed since... I don't know! :frown:
Got it: there are 8 bytes stored in reverse order (beginning with 00 e0...) which represent microseconds elapsed since AD 0.
Here you find the explanation about how to use this data to obtain the date using RapidQ language. Explanation is in italian, but maybe you could get the sense of the post...