webOS Nation Forums >  webOS apps and software >  webOS development > Where are call durations stored, is there an SMS counter?
Where are call durations stored, is there an SMS counter?

  Reply
 
LinkBack Thread Tools Display Modes
Old 12/02/2009, 08:17 AM   #1 (permalink)
TBH
Member
 
Join Date: Dec 2009
Posts: 47
Likes Received: 0
Thanks: 13
Thanked 16 Times in 6 Posts
Default Where are call durations stored, is there an SMS counter?

Hello to all Devs out there,

I've played around a bit with the SDK and now want to create my first 'useful' application for webOS.
If I am able to finish it, it will show the call duration for the current month and subtract the monthly included minutes you get with your carrier contract. Another feature I'd like to implement is SMS-counting.

For these two features I need to know where call durations and SMS countare stored in webOS? I looked through some db files, but couldn't find an obvius or suitable one.

So who knows where these values (call duration, sms count) are stored by webOS?

Thanks in advance,

Tobias

edit:
I found some new information:
All SMS are stored in com_palm_pim_FolderEntry in /var/luna/data/dbdata/PalmDatabase.db3

So if I'm in sqlite and execute
select * from com_palm_pim_FolderEntry where messageType='SMS'

the number of rows would be all sent SMS (at least the ones with only one part).

But how can I execute this command within a webOS-app?

Last edited by TBH; 12/02/2009 at 04:53 PM. Reason: New information
TBH is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0