Name: wrt-plugins-tizen
Summary: JavaScript plugins for WebRuntime
-Version: 0.4.61
+Version: 0.4.62
Release: 0
Group: Development/Libraries
License: Apache License, Version 2.0
callback->invokeCallback("success", deviceObj);
}
}
- if(result == BT_ERROR_REMOTE_DEVICE_NOT_FOUND) {
+ else if(result == BT_ERROR_REMOTE_DEVICE_NOT_FOUND) {
if(callback) {
LoggerE("Not found");
JSContextRef context = callback->getContext();
throw TypeMismatchException("Value is not Object");
}
- JSValueRef ex = NULL;
- onconnectObj = JSValueToObject(context, value, &ex);
- if(ex){
- throw TypeMismatchException("Can't convert to Object");
- }
+ onconnectObj = JSUtil::JSValueToObject(context, value);
if(!JSObjectIsFunction(context, onconnectObj)) {
throw TypeMismatchException("Not function");
throw TypeMismatchException("Value is not Object");
}
- JSValueRef ex = NULL;
- object = JSValueToObject(context, value, &ex);
- if(ex){
- throw TypeMismatchException("Can't convert to Object");
- }
+ object = JSUtil::JSValueToObject(context, value);
if(!JSObjectIsFunction(context, object)) {
throw TypeMismatchException("Not function");
JSValueRef value,
JSValueRef* exception)
{
+ LoggerD("Enter");
+
try {
BluetoothSocketPtr priv = static_cast<BluetoothSocketPtr>(JSObjectGetPrivate(object));
if (!priv) {
throw TypeMismatchException("Value is not Object");
}
- JSValueRef ex;
- object = JSValueToObject(context, value, &ex);
- if(ex){
- throw TypeMismatchException("Can't convert to Object");
- }
+ object = JSUtil::JSValueToObject(context, value);
if(!JSObjectIsFunction(context, object)) {
throw TypeMismatchException("Not function");
throw TypeMismatchException("Value is not Object");
}
- JSValueRef ex;
- object = JSValueToObject(context, value, &ex);
- if(ex){
- throw TypeMismatchException("Can't convert to Object");
- }
+ object = JSUtil::JSValueToObject(context, value);
if(!JSObjectIsFunction(context, object)) {
throw TypeMismatchException("Not function");
throw TypeMismatchException("Value is not Object");
}
- JSValueRef ex;
- object = JSValueToObject(context, value, &ex);
- if(ex){
- throw TypeMismatchException("Can't convert to Object");
- }
+ object = JSUtil::JSValueToObject(context, value);
if(!JSObjectIsFunction(context, object)) {
throw TypeMismatchException("Not function");
sync_agent_get_event_data_param(request, &progress);
sync_agent_get_event_data_param(request, &error);
- LoggerD("profileDirName: "<<profileDirName<<", sync_type: "<<sync_type<<", progress: "<<progress<<", error: "<<error);
+ LoggerI("profileDirName: "<<profileDirName<<", sync_type: "<<sync_type<<", progress: "<<progress<<", error: "<<error);
if(profileDirName) {
eventPtr->setProfileId(profileDirName);
+ if(4<strnlen(profileDirName, 5)) {
+ eventPtr->setProfileId(eventPtr->getProfileId().substr(4));
+ }
}
if(NULL==progress) {
LoggerW("Null status.");
eventPtr->setSessionStatus(OnDataSyncStateChanged::UNDEFINED_STATUS);
- } else if(0==strcmp(progress, "DONE")) {
+ } else if(0==strncmp(progress, "DONE", 4)) {
eventPtr->setSessionStatus(OnDataSyncStateChanged::COMPLETE_STATUS);
- } else if(0==strcmp(progress, "CANCEL")) {
+ } else if(0==strncmp(progress, "CANCEL", 6)) {
eventPtr->setSessionStatus(OnDataSyncStateChanged::STOP_STATUS);
- } else if(0==strcmp(progress, "ERROR")) {
+ } else if(0==strncmp(progress, "ERROR", 5)) {
// Error cases should be redefined and transferred based on the error value.
eventPtr->setSessionStatus(OnDataSyncStateChanged::FAIL_STATUS);
} else {
- LoggerW("Wrong status.");
+ LoggerI("Undefined status: "<<progress);
eventPtr->setSessionStatus(OnDataSyncStateChanged::UNDEFINED_STATUS);
}
sync_agent_get_event_data_param(request, &progressStatus);
sync_agent_get_event_data_param(request, &operationType);
- LoggerD("profileDirName: "<<profileDirName<<", syncType: "<<syncType<<", uri: "<<uri<<", progressStatus: "<<progressStatus<<", operationType "<<operationType);
+ LoggerI("profileDirName: "<<profileDirName<<", syncType: "<<syncType<<", uri: "<<uri<<", progressStatus: "<<progressStatus<<", operationType "<<operationType);
sync_agent_get_event_data_param(request, &isFromServer);
sync_agent_get_event_data_param(request, &totalPerOperation);
sync_agent_get_event_data_param(request, &totalPerDb);
sync_agent_get_event_data_param(request, &syncedPerDb);
- LoggerD("isFromServer: "<<isFromServer<<", totalPerOperation: "<<totalPerOperation<<", syncedPerOperation: "<<syncedPerOperation<<", totalPerDb: "<<totalPerDb<<", syncedPerDb "<<syncedPerDb);
+ LoggerI("isFromServer: "<<isFromServer<<", totalPerOperation: "<<totalPerOperation<<", syncedPerOperation: "<<syncedPerOperation<<", totalPerDb: "<<totalPerDb<<", syncedPerDb "<<syncedPerDb);
if(profileDirName) {
eventPtr->setProfileId(profileDirName);
+ if(4<strnlen(profileDirName, 5)) {
+ eventPtr->setProfileId(eventPtr->getProfileId().substr(4));
+ }
}
eventPtr->setSessionStatus(OnDataSyncStateChanged::PROGRESS_STATUS);
static SyncStatistics::SyncStatus convertToSyncStatus(char* status)
{
- if(0==strcmp(status, "success")) {
+ if(0==strncmp(status, "success", 7)) {
return SyncStatistics::SUCCESS_STATUS;
- } else if(0==strcmp(status, "stop")) {
+ } else if(0==strncmp(status, "stop", 4)) {
return SyncStatistics::STOP_STATUS;
- } else if(0==strcmp(status, "fail")) {
+ } else if(0==strncmp(status, "fail", 4)) {
return SyncStatistics::FAIL_STATUS;
- } else if(0==strcmp(status, "No")) {
+ } else if(0==strncmp(status, "No", 2)) {
return SyncStatistics::NONE_STATUS;
} else {
LoggerW("Error while converting a sync status.");
int numProfiles=0;
for (iter = profile_list; iter != NULL; iter = g_list_next(iter)) {
sync_agent_ds_free_profile_info((ds_profile_h) iter->data);
- LoggerD("Free sync_agent_ds_profile_info for index: "<<numProfiles++);
+ numProfiles++;
+ LoggerD("Free sync_agent_ds_profile_info for index: "<<numProfiles);
}
LoggerD("numProfiles: "<<numProfiles);
JSValueRef objParam[2] = {profileId, errorObject};
multiCallbacks->getOnFailed()->callOnSuccess(objParam, 2);
} else {
- LoggerW("Wrong sync session state.");
+ LoggerI("Undefined sync session state. Skip this.");
}
} else {
LoggerW("Failed result received.");
LoggerD("Number of profiles: "<<dplEvent->getNumProfiles());
return converter.toJSValueRef(dplEvent->getNumProfiles());
} else {
- ThrowMsg(UnknownException, "Get the number of profiles failed by unknown reason.");
+ ThrowMsg(UnknownException, "Getting the number of profiles failed by unknown reason.");
}
}
Catch(UnsupportedException)
try {
// check url
if (JSStringIsEqualToUTF8CString(propertyName, TIZEN_DOWNLOAD_REQUEST_URL)) {
- JSUtil::JSValueToString(context, value);
+ if(JSValueIsNull(context, value))
+ {
+ JSUtil::setProperty(context, object, TIZEN_DOWNLOAD_REQUEST_URL, JSUtil::toJSValueRef(context, JSUtil::JSValueToString(context, value)), kJSPropertyAttributeNone);
+ return true;
+ }else
+ {
+ JSUtil::JSValueToString(context, value);
+ }
}
// check destination
// get thread message count
// lastMsgIndex = convViewList.nCount - 1;
// m_messageCount = convViewList.nCount;
- lastMsgIndex = msgList.nCount - 1;
+// lastMsgIndex = msgList.nCount - 1; // on msg_get_conversation_view_list last is recent message but msg_get_message_list first is recent message
m_messageCount = msgList.nCount;
LoggerD("m_messageCount : " << m_messageCount);
// get thread read status
// msg_get_bool_value(convViewList.msg_struct_info[lastMsgIndex], MSG_CONV_MSG_READ_BOOL, &tempBool);
- msg_get_bool_value(msgList.msg_struct_info[lastMsgIndex], MSG_MESSAGE_READ_BOOL, &tempBool);
+ msg_get_bool_value(msgList.msg_struct_info[0], MSG_MESSAGE_READ_BOOL, &tempBool);
m_read = tempBool;
LoggerD("m_read : " << m_read);
// get thread last message Id
// msg_get_int_value(convViewList.msg_struct_info[lastMsgIndex], MSG_CONV_MSG_ID_INT, &tempInt);
- msg_get_int_value(msgList.msg_struct_info[lastMsgIndex], MSG_MESSAGE_ID_INT, &tempInt);
+ msg_get_int_value(msgList.msg_struct_info[0], MSG_MESSAGE_ID_INT, &tempInt);
m_lastMessageId = tempInt;
LoggerD("m_lastMessageId : " << m_lastMessageId);
}
// msg_get_int_value(convViewList.msg_struct_info[lastMsgIndex], MSG_CONV_MSG_DIRECTION_INT, &tempInt);
- msg_get_int_value(msgList.msg_struct_info[lastMsgIndex], MSG_MESSAGE_DIRECTION_INT, &tempInt);
+ msg_get_int_value(msgList.msg_struct_info[0], MSG_MESSAGE_DIRECTION_INT, &tempInt);
int type = tempInt;
LoggerD("direction : " << type);
m_direction = type;
LoggerD(" setNth(i+1) : " << i+1);
if(attachment[i].inline_content_status == 0)
{
- appendAttachment(tmpAtt);
+ appendAttachment(tmpAtt);
}
else
{
else if(JSStringIsEqualToUTF8CString(propertyName, FILEPATH))
{
std::string fullPath = attachment->getFullPath();
+ if(fullPath.size() == 0)
+ {
+ return JSValueMakeNull(context);
+ }
std::string filePath = DeviceAPI::Filesystem::Utils::toVirtualPath(globalContext, fullPath);
return converter->toJSValueRef(filePath);
}
throw DeviceAPI::Common::TypeMismatchException(str.str().c_str());
}
- // argu 2. Success callback (optional)
+ // argu 2. Success callback (optional & nullable)
JSObjectRef successcb = validator.toFunction(1, true);
- // cannot be nullable
- if (( argumentCount > 1 ) && (NULL == successcb))
- {
- throw DeviceAPI::Common::TypeMismatchException("Invalid success callback.");
- }
callbackManager->setOnSuccess(successcb);
// argu 3. error callback (optional & nullable)
{
LoggerD("get callback Manager");
EventMessagingServicePrivateDataPtr privateData =
- DPL::StaticPointerCast<EventMessagingServicePrivateData>(event->getPrivateData());
+ DPL::StaticPointerCast<EventMessagingServicePrivateData>(event->getPrivateData());
WrtDeviceApis::CommonsJavaScript::JSCallbackManagerPtr callbackManager = privateData->getCallbackManager(); //get callback manager
JSContextRef globalContext = callbackManager->getContext();
if (callbackManager)
{
+ JSValueRef error = NULL;
LoggerD("call error callback.");
- callbackManager->callOnError(JSDOMExceptionFactory::AbortException.make(globalContext, JSMESSAGING_EXCEPTION_MSG_ABORT_ERROR));
+ error = JSWebAPIErrorFactory::makeErrorObject(globalContext, JSWebAPIErrorFactory::ABORT_ERROR, JSMESSAGING_EXCEPTION_MSG_ABORT_ERROR);
+ callbackManager->callOnError(error);
}
}
}
emitter->emit(event);
} else if (requestReceiver) {
- //EventSendMessagePtr event = mail->getSendMessageEvent();
- EventMessagingServicePtr event = mail->getMessagingServiceEvent();
- event->setExceptionCode(
- WrtDeviceApis::Commons::ExceptionCodes::UnknownException
- );
+ EventMessagingServicePtr event = mail->getMessagingServiceEvent();
+ LoggerD("msg->getErrorCode() : " << msg->getErrorCode());
+ switch (msg->getErrorCode()) {
+ case EMAIL_ERROR_NO_SIM_INSERTED:
+ case EMAIL_ERROR_FLIGHT_MODE:
+ case EMAIL_ERROR_SMTP_SEND_FAILURE:
+ case EMAIL_ERROR_CONNECTION_FAILURE:
+ case EMAIL_ERROR_CONNECTION_BROKEN:
+ case EMAIL_ERROR_NO_SUCH_HOST:
+ case EMAIL_ERROR_NETWORK_NOT_AVAILABLE:
+ case EMAIL_ERROR_INVALID_SERVER:
+ case EMAIL_ERROR_NO_RESPONSE:
+ case EMAIL_ERROR_CANCELLED:
+ event->setExceptionCode(WrtDeviceApis::Commons::ExceptionCodes::PlatformWrongStateException);
+ break;
+
+ default:
+ event->setExceptionCode(WrtDeviceApis::Commons::ExceptionCodes::UnknownException);
+ }
requestReceiver->ManualAnswer(event);
}
- mail->setMessageStatus(MESSAGE_STATUS_FAILED);
+ mail->setMessageStatus(MESSAGE_STATUS_FAILED);
- LoggerD("Sending e-mail: " << mailId <<
- " failed with error: " << msg->getErrorCode());
+ LoggerD("Sending e-mail: " << mailId << " failed with error: " << msg->getErrorCode());
LoggerD("E-mail error handle: " << handle);
m_requests.erase(handle);
break;
int mailId = syncNetworkStatus->getMailId(); //if email body download mode.
int status = syncNetworkStatus->getStatus();
int handle = syncNetworkStatus->getHandle();
+ int errCode = syncNetworkStatus->getErrorCode();
- LoggerD("mailId : " << mailId << " status : " << status << " handle : " << handle);
+ LoggerD("mailId : " << mailId << " status : " << status << " handle : " << handle << " errCode : " << errCode);
// if Attachment Load
if ( status == NOTI_DOWNLOAD_ATTACH_FINISH ||status == NOTI_DOWNLOAD_ATTACH_FAIL )
{
SyncRequestIterator it = m_SyncRequests.find(handle);
if ( m_SyncRequests.end() != it)
{
- int syncType = it->second.syncType;
+ int syncType = it->second.syncType;
LoggerD(" Sync ... handle : " << handle << " status : " << status << " SyncType: " << syncType);
switch(syncType)
}
else if ( status == NOTI_DOWNLOAD_FAIL )
{
- LoggerD("Sync Fail");
- event->setExceptionCode( WrtDeviceApis::Commons::ExceptionCodes::UnknownException );
+ LoggerD("Sync Fail : " << errCode);
+ if(errCode == EMAIL_ERROR_CANCELLED)
+ {
+ event->setExceptionCode( WrtDeviceApis::Commons::ExceptionCodes::EventCancelledException );
+ }
+ else
+ {
+ event->setExceptionCode( WrtDeviceApis::Commons::ExceptionCodes::UnknownException );
+ }
requestReceiver->ManualAnswer(event);
m_SyncRequests.erase( handle );
}
}
else if ( status == NOTI_DOWNLOAD_FAIL )
{
- LoggerD("Sync Fail");
- event->setExceptionCode( WrtDeviceApis::Commons::ExceptionCodes::UnknownException );
+ LoggerD("Sync Fail : " << errCode);
+ if(errCode == EMAIL_ERROR_CANCELLED)
+ {
+ event->setExceptionCode( WrtDeviceApis::Commons::ExceptionCodes::EventCancelledException );
+ }
+ else
+ {
+ event->setExceptionCode( WrtDeviceApis::Commons::ExceptionCodes::UnknownException );
+ }
requestReceiver->ManualAnswer(event);
m_SyncRequests.erase( handle );
}
if (mail && requestReceiver) {
EventMessagingServicePtr event = mail->getMessagingServiceEvent();
- if ( status == NOTI_DOWNLOAD_BODY_FINISH )
+ if ( status == NOTI_DOWNLOAD_BODY_FINISH || (status == NOTI_DOWNLOAD_BODY_FAIL && errCode == EMAIL_ERROR_MAIL_IS_ALREADY_DOWNLOADED))
{
event->m_message->readAllData();
return;
}
int msgType = 0;
+
msg_get_int_value(msg, MSG_MESSAGE_TYPE_INT, &msgType);
LoggerD("msgType : " << msgType);
if((msgType > MSG_TYPE_INVALID) && ( msgType <= MSG_TYPE_SMS_REJECT))
event->setMsg_Type(SMS);
if(this_->m_onMessageReceived.size() > 0){
- if(storageChangeType == MSG_STORAGE_CHANGE_INSERT)
+ LoggerD("Message Status = " << message->getMessageStatus());
+ if((storageChangeType == MSG_STORAGE_CHANGE_INSERT))
{
LoggerD("MSG_STORAGE_CHANGE_INSERT");
event->setMsg_Event_Type(EventMessageReceived::MSG_ADDED);
+ this_->m_onMessageReceived.emit(event);
}
else if(storageChangeType == MSG_STORAGE_CHANGE_UPDATE)
{
LoggerD("MSG_STORAGE_CHANGE_UPDATE");
event->setMsg_Event_Type(EventMessageReceived::MSG_UPDATED);
+ this_->m_onMessageReceived.emit(event);
}
- this_->m_onMessageReceived.emit(event);
}
if(this_->m_onConversationReceived.size() > 0){
int emitCheck = 0;
{
LoggerD("Enter-Email");
int threadId = 0;
+ int err;
for (std::size_t i = 0; i < conversations.size(); ++i)
{
return false;
}
}
+
+ // email_delete_thread is asyncronous so check last deleted thread status check
+ do
+ {
+ email_mail_list_item_t *thread_info = NULL;
+ usleep(300 * 1000);
+ err = email_get_thread_information_ex(threadId, &thread_info);
+ LoggerD("err " << err);
+ }while(err != EMAIL_ERROR_MAIL_NOT_FOUND);
}
else
{
{
LoggerD(" Message load attachment");
LoggerD("Operation ID : " << event->opId);
+
+ JSValueRef error = NULL;
+ if (ExceptionCodes::None != event->getExceptionCode()) {
+ LoggerD("Report error");
+ switch (event->getExceptionCode()) {
+ case ExceptionCodes::InvalidArgumentException:
+ case ExceptionCodes::PlatformException:
+ case ExceptionCodes::ConversionException:
+ error = JSWebAPIErrorFactory::makeErrorObject(
+ globalContext,
+ JSWebAPIErrorFactory::INVALID_VALUES_ERROR,
+ JSMESSAGING_EXCEPTION_MSG_INVALID_ARGUMENT);
+ LoggerD("Report conversion error");
+ break;
+ default:
+ error = JSWebAPIErrorFactory::makeErrorObject(
+ globalContext,
+ JSWebAPIErrorFactory::UNKNOWN_ERROR,
+ JSMESSAGING_EXCEPTION_MSG_UNKNOWN);
+ LoggerD("Report unknown error");
+ }
+ }
+
+
if ( event->m_messagingService)
event->m_messagingService->deleteOpId(event->opId);
}
else
{
- callbackManager->callOnError();
+ callbackManager->callOnError(error);
}
}
else if (MessagingServiceEventType == MESSAGING_SERVICE_EVENT_TYPE_SYNC)
{
LoggerD(" Message Sync :");
LoggerD("Operation ID : " << event->opId);
+
+ JSValueRef error = NULL;
+ if (ExceptionCodes::None != event->getExceptionCode()) {
+ LoggerD("Report error");
+ switch (event->getExceptionCode()) {
+ case ExceptionCodes::EventCancelledException:
+ error = JSWebAPIErrorFactory::makeErrorObject(
+ globalContext,
+ JSWebAPIErrorFactory::ABORT_ERROR,
+ JSMESSAGING_EXCEPTION_MSG_ABORT_ERROR);
+ LoggerD("Report abort error");
+ break;
+ case ExceptionCodes::InvalidArgumentException:
+ case ExceptionCodes::PlatformException:
+ case ExceptionCodes::ConversionException:
+ error = JSWebAPIErrorFactory::makeErrorObject(
+ globalContext,
+ JSWebAPIErrorFactory::INVALID_VALUES_ERROR,
+ JSMESSAGING_EXCEPTION_MSG_INVALID_ARGUMENT);
+ LoggerD("Report conversion error");
+ break;
+ default:
+ error = JSWebAPIErrorFactory::makeErrorObject(
+ globalContext,
+ JSWebAPIErrorFactory::UNKNOWN_ERROR,
+ JSMESSAGING_EXCEPTION_MSG_UNKNOWN);
+ LoggerD("Report unknown error");
+ }
+ }
+
if ( event->m_messagingService)
event->m_messagingService->deleteOpId(event->opId);
}
else
{
- callbackManager->callOnError();
+ callbackManager->callOnError(error);
}
}
else if (MessagingServiceEventType == MESSAGING_SERVICE_EVENT_TYPE_SYNC_FOLDER)
{
LoggerD(" Message Sync Folder");
LoggerD("Operation ID : " << event->opId);
+
+ JSValueRef error = NULL;
+ if (ExceptionCodes::None != event->getExceptionCode()) {
+ LoggerD("Report error");
+ switch (event->getExceptionCode()) {
+ case ExceptionCodes::EventCancelledException:
+ error = JSWebAPIErrorFactory::makeErrorObject(
+ globalContext,
+ JSWebAPIErrorFactory::ABORT_ERROR,
+ JSMESSAGING_EXCEPTION_MSG_ABORT_ERROR);
+ LoggerD("Report abort error");
+ break;
+ case ExceptionCodes::InvalidArgumentException:
+ case ExceptionCodes::PlatformException:
+ case ExceptionCodes::ConversionException:
+ error = JSWebAPIErrorFactory::makeErrorObject(
+ globalContext,
+ JSWebAPIErrorFactory::INVALID_VALUES_ERROR,
+ JSMESSAGING_EXCEPTION_MSG_INVALID_ARGUMENT);
+ LoggerD("Report conversion error");
+ break;
+ default:
+ error = JSWebAPIErrorFactory::makeErrorObject(
+ globalContext,
+ JSWebAPIErrorFactory::UNKNOWN_ERROR,
+ JSMESSAGING_EXCEPTION_MSG_UNKNOWN);
+ LoggerD("Report unknown error");
+ }
+ }
+
if ( event->m_messagingService)
event->m_messagingService->deleteOpId(event->opId);
if (event->getExceptionCode() == ExceptionCodes::None)
}
else
{
- callbackManager->callOnError();
+ callbackManager->callOnError(error);
}
}
else if (MessagingServiceEventType == MESSAGING_SERVICE_EVENT_TYPE_SEND_MESSAGE)
}
else
{
- callbackManager->callOnError(JSValueMakeUndefined(globalContext));
+// callbackManager->callOnError(JSValueMakeUndefined(globalContext));
+ LoggerD( "ignore Event");
}
}
int retryCount = 0;
if(it->second.checkSetHandle == false)
{
- while (retryCount < 2) {
+ while (retryCount < 4) {
LoggerW("Wait for handle");
- usleep(200 * 1000);
+ usleep(250 * 1000);
if (it->second.checkSetHandle) {
break;
}
retryCount++;
}
- handle = it->second.handle;
}
+ handle = it->second.handle;
}
LoggerD("handle " << handle);
}
Catch(WrtDeviceApis::Commons::PlatformException)
{
- MsgLoggerE("platform exception");
+ MsgLoggerE("platform exception " << _rethrown_exception.GetMessage());
event->setExceptionCode(WrtDeviceApis::Commons::ExceptionCodes::UnknownException);
}
Catch(WrtDeviceApis::Commons::InvalidArgumentException)
void Sms::readBody(msg_struct_t& messageData)
{
- //set abstraction body value
int tempInt;
msg_get_int_value(messageData, MSG_MESSAGE_DATA_SIZE_INT, &tempInt);
- LoggerE("body Size : " <<tempInt);
+ LoggerD("body Size : " <<tempInt);
char msgText[tempInt+1];
memset(msgText, 0, tempInt+1);
msg_get_str_value(messageData, MSG_MESSAGE_SMS_DATA_STR, msgText, tempInt);
-// setBody(msg_sms_get_message_body(messageData));
- LoggerE("body : " <<msgText);
setBody(msgText);
}
{
int tempInt = 0;
msg_get_int_value(messageData, MSG_MESSAGE_FOLDER_ID_INT, &tempInt);
- LoggerE("Folder : " <<tempInt);
+ LoggerD("Folder : " <<tempInt);
switch (tempInt) {
case MSG_INBOX_ID: