View Single Post
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#1
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
Attached Files
File Type: gz rtcom-add-sms.tar.gz (7.2 KB, 174 views)
 

The Following 8 Users Say Thank You to pali For This Useful Post: