Fix for message
authorHyukSoon Choi <hs619.choi@samsung.com>
Fri, 5 Apr 2013 04:28:37 +0000 (13:28 +0900)
committerHyukSoon Choi <hs619.choi@samsung.com>
Fri, 5 Apr 2013 04:28:37 +0000 (13:28 +0900)
Change-Id: I5858f283889cebb531f53f7af166aaf0850b53ef
Signed-off-by: HyukSoon Choi <hs619.choi@samsung.com>
inc/IvTypes.h
src/IvImageViewerForm.cpp
src/IvTypes.cpp

index 1ced67c..7a34f45 100644 (file)
@@ -125,6 +125,7 @@ extern const wchar_t* APPCONTROL_DATA_SINGLE;
 extern const wchar_t* APPCONTROL_DATA_ITEM_ID;
 extern const wchar_t* APPCONTROL_DATA_URI_FILE;
 extern const wchar_t* APPCONTROL_DATA_PERSON;
+extern const wchar_t* APPCONTROL_DATA_MMS;
 
 extern const wchar_t* SETTING_VALUE_HOME_SCREEN_WALLPAPER;
 extern const wchar_t* SETTING_VALUE_LOCK_SCREEN_WALLPAPER;
index e3078b2..e1c0f75 100644 (file)
@@ -2008,9 +2008,10 @@ ImageViewerForm::OnRequestMessagesAction(void)
        IList* pList = new (std::nothrow) ArrayList(SingleObjectDeleter);
        pList->Add(new (std::nothrow) String(filePath));
        pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_PATH), (Object*)pList);
+       pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_MESSAGE_TYPE), new (std::nothrow) String(APPCONTROL_DATA_MMS));
 
-       __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_MESSAGES, APPCONTROL_OPERATION_ID_COMPOSE,
-                       new (std::nothrow) String(APPCONTROL_URI_MMS_TO), null, pDataList, this);
+       __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_MESSAGES, APPCONTROL_OPERATION_ID_COMPOSE, null,
+                       null, pDataList, this);
        AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
 }
 
index 40e650d..0bf844f 100644 (file)
@@ -74,6 +74,7 @@ const wchar_t* APPCONTROL_DATA_SINGLE = L"single";
 const wchar_t* APPCONTROL_DATA_ITEM_ID = L"item_id";
 const wchar_t* APPCONTROL_DATA_URI_FILE = L"file://";
 const wchar_t* APPCONTROL_DATA_PERSON = L"person";
+const wchar_t* APPCONTROL_DATA_MMS = L"mms";
 
 const wchar_t* SETTING_VALUE_HOME_SCREEN_WALLPAPER = L"http://tizen.org/setting/screen.wallpaper";
 const wchar_t* SETTING_VALUE_LOCK_SCREEN_WALLPAPER = L"http://tizen.org/setting/screen.wallpaper.lock";