void RequestThumbnail(const int folderIndex, int pathIndex);
void CancelThumbnailRequest(const int folderIndex);
void ClearThumbnailRequests(bool appTerminating = false);
- result StartAppControl(const Tizen::Base::String& providerId, const Tizen::Base::String& operationId,
+ result StartAppControl(const Tizen::Base::String& providerId, const Tizen::Base::String& operationId,
const Tizen::Base::String* pUriData, const Tizen::Base::String* pMimeType,
const Tizen::Base::Collection::HashMap* pDataList, Tizen::App::IAppControlResponseListener* pListener);
}
result
-AlbumListPresentationModel::StartAppControl(const String& providerId, const String& operationId,
- const String* pUriData, const String* pMimeType, const IMap* pDataList,
+AlbumListPresentationModel::StartAppControl(const String& providerId, const String& operationId,
+ const String* pUriData, const String* pMimeType, const HashMap* pDataList,
IAppControlResponseListener* pListener)
{
AppLogDebug("ENTER");
pDataList->Construct();
pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_PATH), (Object*)pArrayList);
- __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_EMAIL, APPCONTROL_OPERATION_ID_COMPOSE, null,
- pDataList, null);
+ __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_EMAIL, APPCONTROL_OPERATION_ID_COMPOSE,
+ new (std::nothrow) String(APPCONTROL_URI_MAIL_TO), null, pDataList, null);
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
return E_SUCCESS;
pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_PATH), (Object*)pArrayList);
__pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_IMAGE, APPCONTROL_OPERATION_ID_VIEW, null,
- pDataList, null);
+ new (std::nothrow) String(APPCONTROL_MIME_IMAGE_ALL), pDataList, null);
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
return E_SUCCESS;
pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_TYPE), new (std::nothrow) String(APPCONTROL_DATA_SLIDE_SHOW));
pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_PATH), (Object*)pArrayList);
- __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_IMAGE, APPCONTROL_OPERATION_ID_VIEW,null, pDataList, null);
+ __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_IMAGE, APPCONTROL_OPERATION_ID_VIEW, null,
+ new (std::nothrow) String(APPCONTROL_MIME_IMAGE_ALL), pDataList, null);
}
else if (index == 1) // go to settingsForm
{