Hi,
Thanks for mailing. I want to see the message. There is no field regarding the 
message.

Rahul

Durgesh Trivedi <[EMAIL PROTECTED]> wrote: No i dont get the database structure 
but i use a trick to do get it i make a guess that it has the simillar 
structure as Mail and it little bit work 4 me bcz i need it to count the un 
read sms and i make change in the mail structrue only the name  

Look this both structure 

/******************************************************************************/
/***********************STRUCTURE FOR THE MAIL APPLICATION ********************/
/******************************************************************************/
typedef struct {
 UInt16    read     : 1;
 UInt16    signature   : 1;
 UInt16    confirmRead   : 1;
 UInt16    confirmDelivery : 1;
 UInt16    priority    : 2;  // MailPriorityType
 UInt16    addressing   : 2;  // MailAddressingType
 UInt16    reserved    : 8;
} MailFlagsType;

/******************************************************************************/
typedef struct {
 DateType      date;
 TimeType     time;
 MailFlagsType   flags;
 Char      firstField;
 UInt8      reserved;
} MailPackedDBRecordType;

typedef MailPackedDBRecordType * MailPackedDBRecordPtr;
/******************************************************************************/
/***********************STRUCTURE FOR THE SMS APPLICATION *********************/
/******************************************************************************/

typedef struct {
 UInt16    read     : 1;
 UInt16    signature   : 1;
 UInt16    confirmRead   : 1;
 UInt16    confirmDelivery : 1;
 UInt16    priority    : 2;  // SmsPriorityType
 UInt16    addressing   : 2;  // SmsAddressingType
 UInt16    reserved    : 8;
}SmsFlagsType;

/******************************************************************************/
typedef struct {
 DateType      date;
 TimeType     time;
 SmsFlagsType   flags;
 Char      firstField;
 UInt8      reserved;
} SmsPackedDBRecordType;

typedef SmsPackedDBRecordType * SmsPackedDBRecordPtr;

/******************************************************************************/
when u make comparision u find that they r all most similar but only the name 
of structure is different  that is my hit and try and it wrk .But 4 some more 
functionality i dont know the other structure and i m still searching 4 it  but 
these r sufficient to make count of read and unread sms.
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


                                
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to