maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   SMS-api, and where are they stored on the device? (https://talk.maemo.org/showthread.php?t=37740)

Rasmus 2009-12-19 07:32

SMS-api, and where are they stored on the device?
 
Just two quick questions:
  • Where are the SMSes stored on the device?
  • Where is the SMS API documentation or alternatively the source code or code examples?

(Maybe I am just blind, but I didn't find it, neither in this forum, nor by googling, nor by grepping through most of the device, so now I am asking here)

danielwilms 2009-12-19 11:04

Re: SMS-api, and where are they stored on the device?
 
Quote:

Originally Posted by Rasmus (Post 434205)
Where are the SMSes stored on the device?

you can use the eventlogger API to access stored sms on device.

Quote:

Originally Posted by Rasmus (Post 434205)
Where is the SMS API documentation or alternatively the source code or code examples?

To send and receive SMS the telepathy framework is used as a highlevel API. It is quite complex, but we are working on an example, which should ease the development.

Daniel

morusaka 2010-01-17 13:50

Re: SMS-api, and where are they stored on the device?
 
Quote:

Originally Posted by Rasmus (Post 434205)
  • Where are the SMSes stored on the device?

They are stored in a sqlite database (/home/user/.rtcom-eventlogger/el.db)
You are not supposed to access / modify the database directly, you should use rtcom API.

Quote:

Originally Posted by Rasmus (Post 434205)
  • Where is the SMS API documentation or alternatively the source code or code examples?

you can find an overview here:
http://maemo.gitorious.org/maemo-rtc...es/Eventlogger
and API doc here:
http://maemo.org/api_refs/5.0/5.0-final/eventlogger/

I'd like to know if somebody is working on a Python version of the API.

Ciao,

L-


All times are GMT. The time now is 20:31.

vBulletin® Version 3.8.8