maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] N900: Terminal application for importing SMS (https://talk.maemo.org/showthread.php?t=93845)

pali 2014-09-12 20:20

N900: Terminal application for importing SMS
 
1 Attachment(s)
Hello,

I needed to import SMSs into Maemo5 database (rtcom). I did not found any easy to use program (from shell/perl scripts), so I created small terminal application in C. Maybe it will be usefull for somebody else, so I'm posting it here. Code is taken from more places (examples from rtcom-eventlogger, parts from rmoravcik sms import/export, ...).

Usage in terminal is simple:
Code:

$ ./rtcom-add-sms <phone> <timestamp> <outgoing> "<text>"
timestamp is number of seconds since 01.01.1980 UTC
outgoing is number "1" for outgoing SMS, "0" for incoming

Estel 2014-09-12 21:45

Re: N900: Terminal application for importing SMS
 
Quote:

Originally Posted by pali (Post 1439047)
Maybe it will be usefull for somebody else, so I'm posting it here.

Very useful thing, IMO. Just, please:

Code:

s/posting it here/putting it into repositories/
;)

Mentalist Traceur 2014-09-13 06:34

Re: N900: Terminal application for importing SMS
 
This reminds me of a larger-scale thing I wanted to do - create a program to import/export messages in bulk to/from the rtcom's database. As is typical with me though - everything I want to do is perpetually delayed and procrastinated on because I have too many other things that I am also doing, so haven't gotten around to it yet. This is at least something, which is great. (Also seconding the whole 'put in repos' thing)


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

vBulletin® Version 3.8.8