Active Topics

 


Reply
Thread Tools
afaq's Avatar
Posts: 1,038 | Thanked: 1,408 times | Joined on Feb 2010 @ London
#21
N900 stores it in an SQL database. It will then need to be converted into a format Android reads.

I believe Android can import .xml files. So it's a task to convert SQL to XML with all the structure corrected.

Before you dig any more into - just saw this

http://vinodmishra.com/2009/09/how-t...droid-devices/

This is quite long winded and not sure how realistic for the no. of mssgs you have.
__________________
Graphic and Calligraphy Designer
check out my site www.afaqali.com
 
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#22
Originally Posted by afaq View Post
N900 stores it in an SQL database. It will then need to be converted into a format Android reads.

I believe Android can import .xml files. So it's a task to convert SQL to XML with all the structure corrected.

Before you dig any more into - just saw this

http://vinodmishra.com/2009/09/how-t...droid-devices/

This is quite long winded and not sure how realistic for the no. of mssgs you have.
I already saw that page but thanks for posting it.

Is it difficult to convert SQL to XML?
 
Posts: 73 | Thanked: 9 times | Joined on May 2010 @ London
#23
The messages database for N900 is located here

Code:
/home/user/.rtcom-eventlogger/el-v1.db
I have used SQLite Expert in the past to read from Events table in the database which holds calls and messages records.

I have also successfully exported the data from the table to CSV and Excel files.

I have asked in previous posts if anyone can give me the structure of target XML file I can write a program to do the conversion.
 
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#24
Originally Posted by t4ure4n View Post
The messages database for N900 is located here

Code:
/home/user/.rtcom-eventlogger/el-v1.db
I have used SQLite Expert in the past to read from Events table in the database which holds calls and messages records.

I have also successfully exported the data from the table to CSV and Excel files.

I have asked in previous posts if anyone can give me the structure of target XML file I can write a program to do the conversion.
I haven't a clue where to start on that, i even tried the Symbian suggestion and got nowhere.
 
Posts: 249 | Thanked: 277 times | Joined on May 2010 @ Brighton, UK
#25
Sorry, what I meant was that you can ignore the Symbian side of it as you've already got the VMG files on the PC.
 
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#26
Originally Posted by mr_jrt View Post
Sorry, what I meant was that you can ignore the Symbian side of it as you've already got the VMG files on the PC.
So what would i do next?
 
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#27
Anyone got any ideas?
 
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#28
bump
10 chars
 
Posts: 73 | Thanked: 9 times | Joined on May 2010 @ London
#29
Originally Posted by richwhite View Post
Anyone got any ideas?
I have found some information about the Android own Backup and restore + XML file format...

Fields in the XML File:

Here is some description of the fields:

protocol – Protocol used by the message, its mostly 0 in case of SMS messages.

address – The phone number of the sender/recipient.

date – The Java date representation (including millisecond) of the time when the message was sent/received. Check out www.epochconverter.com for information on how to do the conversion from other languages to Java.

type – Sent = 2, Received = 1.

subject – Subject of the message, its always null in case of SMS messages.

body – The content of the message.

toa – n/a, default to null.

sc_toa – n/a, default to null.

service_center – The service center for the received message, null in case of sent messages.

read – Read Message = 1, Unread Message = 0.

status – None = -1, Complete = 0, Pending = 32, Failed = 64.

readable_date – Optional field that has the date in a human readable format.

contact_name – Optional field that has the name of the contact.
hope this can be helpful
 

The Following User Says Thank You to t4ure4n For This Useful Post:
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#30
Originally Posted by t4ure4n View Post
I have found some information about the Android own Backup and restore + XML file format...

Fields in the XML File:

Here is some description of the fields:



hope this can be helpful
Thanks for finding that, although it may as well be Greek to you. I know nada about codes
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:51.