hi

on treo650 i need to detect how many sms messages are in inbox

when i use PhoneLib api to open database with sms messages for me 
(PhnLibGetDBRef) it opens database "SMS Messages2" of type DATA and creator 
SMS2 which is always empty

i already found that messages are in fact stored in database called "Messages 
Database" with type MsDb and creator MsSt. 

is there any 'correct' way to get this information or must i open this database 
i found myself? i already found that there is a lot of records and not all of 
them are sms messages so i don't know how to get correct number from there. is 
this format documented somewhere?

i also tried to use approach which was recommended for mail and sms messages 
(to use pmNotifyGetNewMsgCountFromHelper), it works for mail, i can't test it 
for mms at the moment, but for sms it returns always 0 so again no luck here

i will be glad for any hint, because i am stuck with this... thanks in advance
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to