You Are Here:

Community: Developer Discussion Boards

#1 Old Question Accessing the SMS store - 2005-01-08, 21:12

Join Date: Apr 2003
Posts: 19
matteo.giacomazzi
Offline
Registered User
Hi there,

does anybody know where Nokia (3650) stores the SMS?
I'd like to read such messages - I guess there are not "objects" I can already use for this operation.
Are those messages stored in a Symbian database or is it a structured file? How can I locate it?

Any advise would be greatly appreciated!

Regards,
Matteo
Reply With Quote

#2 Old 2005-01-10, 17:23

Join Date: Jul 2004
Posts: 76
eriksmartt
Offline
Regular Contributor
The proper method would be to use a Python module that talks to the Messaging Service; However, since that's not available yet, you'll probably have to hack something together by scanning the files in "c:\system\Mail\".

You might want to use something like FExplorer <http://www.gosymbian.com/> to help explore the file system if you don't have a good file browser yet.

Cheers!
Reply With Quote

#3 Old 2005-01-10, 19:14

Join Date: Apr 2003
Posts: 19
matteo.giacomazzi
Offline
Registered User
Quote:
Originally posted by eriksmartt
The proper method would be to use a Python module that talks to the Messaging Service; However, since that's not available yet,
Thank you for the suggestion: is it possible to write such module in Python or it should be written in C++?
How does the Messaging Service interact with the rest of the system?

Many thanks,
Matteo
Reply With Quote

#4 Old 2005-01-10, 22:04

Join Date: Jul 2004
Posts: 76
eriksmartt
Offline
Regular Contributor
At least part of the module will need to be Symbian C++ to hook into the OS API's for the Messaging Service. You basically need a bridge to expose the system API to Python.

If you're a Symbian C++ developer, there should be more examples coming soon on how to do this. Otherwise we'll have to wait for Nokia to release a module for this, and there's no info yet on when that might be.

A full Messaging module should support reading the inbox, sending sms, and receiving sms (ie., event callbacks), so doing it right is a little more complicated then just reading messages. However, these are all native API calls...
Reply With Quote

#5 Old handy little tool - 2005-01-10, 22:06

Join Date: Jan 2005
Posts: 9
maht0x0r
Offline
Registered User
I was exploring the file system my self and found the SMS store in c:/system/Mail/

I copied the os.listdir() example and tweaked it to dump a list of the whole file system to a file with sizes and last modified date

it writes it out to e:/filelog.txt for copying to somewhere to make it easier to read.

Here's the script :

http://www.proweb.co.uk/~matt/s60_file_enum.py

The messages are stored in a binary format but it shouldn't be too hard to extract the useful data.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia