{
HashMap* pDataList = new (std::nothrow) HashMap(SingleObjectDeleter);
pDataList->Construct();
- pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_TYPE),
- new (std::nothrow) String(filePath));
- pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_ATTACHMENTS),
- new (std::nothrow) String(APPCONTROL_DATA_MMS));
+ pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_TYPE),new (std::nothrow) String(APPCONTROL_DATA_MMS));
+ pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_ATTACHMENTS),new (std::nothrow) String(filePath));
__pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_MESSAGES,
APPCONTROL_OPERATION_ID_COMPOSE, pDataList, this);
if (r == E_SUCCESS)
{
if ( imageBuffer->GetExifOrientation() == EXIF_ORIENTATION_RIGHT_TOP ||
- imageBuffer->GetExifOrientation() == EXIF_ORIENTATION_LEFT_BOTTOM)
+ imageBuffer->GetExifOrientation() == EXIF_ORIENTATION_LEFT_BOTTOM )
{
Dimension srcDim( imageBuffer->GetHeight(),imageBuffer->GetWidth());
pBitmap->Scale(srcDim);