icfans

如何实现在彩信只插SIM+CARD时正常保存彩信中的object

0
阅读(341) 评论(0)

[DESCRIPTION]

MMS V01版本中,开启双T卡功能后如何实现只插SIM+CARD正常保存彩信的

object

[SOLUTION]

msf_sas.cmsf_sas_create_save_as

#endif /* SLIM_WAP_MMS */

r = FS_GetDrive(FS_DRIVE_V_REMOVABLE, 1, FS_NO_ALT_DRIVE);

// If there is no more space on public drive, see if we have memory card or not.

sprintf(temp_ext, "%s%c:\\", HDI_EXTERNAL_PATH, r);

#ifdef SLIM_WAP_MMS

ret = FS_GetDevStatus(r, FS_MOUNT_STATE_ENUM);

if(ret < 0)

{

/*====================================================*/

r = FS_GetDrive(FS_DRIVE_V_REMOVABLE, 2, FS_NO_ALT_DRIVE);

sprintf(temp_ext, "%s%c:\\", HDI_EXTERNAL_PATH, r);

ret = FS_GetDevStatus(r, FS_MOUNT_STATE_ENUM);

if (ret <0)

{

HDIa_widgetExtShowPopupWithType(

sas_handle->modid,

HDIa_widgetStringGetPredefined(MSF_STR_ID_DLG_NO_MEM_CARD),

MsfFailure);

op->status = MSF_SAS_RETURN_ERROR;

op->state = MSF_SAS_STATE_FINISHED;

goto end;

}

/*=================================================*/

}

#endif /* SLIM_WAP_MMS */


来自半导体社区