Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I have problem/issue with storing sms.

ISMSSTORAGE_EnumNextMsg(pMe->m_pISMSStorage, pMe->SmsStoreType, &pMe->EnumMsgCb,&pMe->m_dwMsgIndexInBox, &pMe->m_pISMSMsg, &pMe->m_dwMsgStatus);

for CDMA devices :

should i use AEESMS_NV_CDMA? or AEESMS_CARD_RUIM? I am confused becuase some devices supports RUIM and some not, please guide me. 

It actually depends on your app requirement. By default, you should keep storage type as AEESMS_NV_CDMA in your app code and if device supports RUIM card then only should change storage type to AEESMS_CARD_RUIM. In short, even device supports RUIM card, it will support AEESMS_NV_CDMA as primary storage.
You can develop logic as per your app use case.

It actually depends on your app requirement. By default, you should keep storage type as AEESMS_NV_CDMA in your app code and if device supports RUIM card then only should change storage type to AEESMS_CARD_RUIM. In short, even device supports RUIM card, it will support AEESMS_NV_CDMA as primary storage.
You can develop logic as per your app use case.

Thanks, what's the max number of sms files can be created?

Thanks, what's the max number of sms files can be created?

Note that SMS's are stored in single file and you need to enumerate each SMS. I think you are very close to solution as you only mentioned ISMSSTORAGE_EnumNextMsg in the issue.
if your question is related to file system then you can create Max Files upto 65535. valid range is 7-65535, but note that this also is OEM dependent. You can refer device spec for more information on this.

Note that SMS's are stored in single file and you need to enumerate each SMS. I think you are very close to solution as you only mentioned ISMSSTORAGE_EnumNextMsg in the issue.
if your question is related to file system then you can create Max Files upto 65535. valid range is 7-65535, but note that this also is OEM dependent. You can refer device spec for more information on this.