maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Editing received and sent SMS (N9) (https://talk.maemo.org/showthread.php?t=81453)

DarkSkies 2012-01-09 00:39

Editing received and sent SMS (N9)
 
As I assume that SMS are stored somehow using the tracker, they must be stored in a file database somewhere. Is this correct? What file would that be? In N900 it was quite simple.

I'd like to be able to edit messages I received and sent. Is this possible? If there is a storage DB somewhere then it must be. Thanks for your kind help.

ammar.m 2012-01-09 07:58

Re: Editing received and sent SMS (N9)
 
lol that sounds wrong on so many levels

slashd0t 2012-01-09 08:19

Re: Editing received and sent SMS (N9)
 
lol @ ammar.m.. I have to agree.. I can't any situation where this would be used for good :D

Andre Klapper 2012-01-09 09:03

Re: Editing received and sent SMS (N9)
 
DarkSkies: Why would anybody want to do that?
Usecase, please.

alci 2012-01-09 09:29

Re: Editing received and sent SMS (N9)
 
Quote:

Originally Posted by Andre Klapper (Post 1147773)
DarkSkies: Why would anybody want to do that?
Usecase, please.

I want to trick my wife, cause she knows I received a SMS, but I don't want her to know it's my mistress.
Is this a good enough use case ?

ejasmudar 2012-01-09 09:44

Re: Editing received and sent SMS (N9)
 
Screw usecase. It is always a good thing to "know". Knowledge is power. In science, there is no right or wrong, only extending the limits of the knowledge of mankind.

l32606 2012-01-09 09:59

Re: Editing received and sent SMS (N9)
 
so keeping another cell for your mistress may be the better way:-D

l32606 2012-01-09 10:02

Re: Editing received and sent SMS (N9)
 
Maybe the SMS is stored in /home/user/.cache/tracker...

DarkSkies 2012-01-09 13:21

Re: Editing received and sent SMS (N9)
 
Quote:

Originally Posted by ejasmudar (Post 1147790)
Screw usecase. It is always a good thing to "know". Knowledge is power. In science, there is no right or wrong, only extending the limits of the knowledge of mankind.

Exactly. Why don't we keep this thread clean and to the point? SMS management has been widely discussed for N900. This is pretty much the first such discussion re N9.

DarkSkies 2012-01-10 16:09

Re: Editing received and sent SMS (N9)
 
Anybody still out there? Does this mean that nobody really knows where to find SMS storage db? I can identify where most of things and settings are set and stored, yet I keep on wondering about the SMS thing since the beginning. Thanks for help.

ejasmudar 2012-01-10 21:28

Re: Editing received and sent SMS (N9)
 
You can try and examine the source for nicolai's app for transfering sms from n900 to n9. That should turn up something. You can search for it, its called commhistory or something

Saturn 2012-01-10 23:15

Re: Editing received and sent SMS (N9)
 
for info:

http://forum.meego.com/showthread.php?t=959

kiiwii 2012-01-11 06:05

Re: Editing received and sent SMS (N9)
 
Quote:

Originally Posted by l32606 (Post 1147796)
Maybe the SMS is stored in /home/user/.cache/tracker...

yes, there it is.

/home/user.cache/tracker/meta.db

table nie:InformationElement seems to contain all the messages,
and other table(like SMS) use ID to index this massive table ... -_-||

check this out of mine ... -_-||

[]select count(*) from "nie:InformationElement";
11247[

DarkSkies 2012-01-11 16:06

Re: Editing received and sent SMS (N9)
 
Quote:

Originally Posted by kiiwii (Post 1148731)
yes, there it is.

/home/user.cache/tracker/meta.db

table nie:InformationElement seems to contain all the messages,
and other table(like SMS) use ID to index this massive table ... -_-|

There is o-rxw set on tracker/ Any hints on how to go around this? Regular chmod from under root does not work: operation not permited. I bet I have to kill the tracker process first. Thanks for help.

Helmuth 2012-01-11 16:26

Re: Editing received and sent SMS (N9)
 
Perhaps Aegis isn't your friend if you try to access this file directly.

quipper8 2012-01-11 17:43

Re: Editing received and sent SMS (N9)
 
it might be preferable to access through API than straight into sqlite. Check here for the applicable API:

http://harmattan-dev.nokia.com/docs/...tory/main.html

specifically maybe CommHistory::Event and CommHistory::UpdateQuery


All times are GMT. The time now is 21:52.

vBulletin® Version 3.8.8