pDataList->Construct();
pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_CAMERA_ALLOW_SWITCH), new (std::nothrow) String(APPCONTROL_DATA_TRUE));
__pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_CAMERA, APPCONTROL_OPERATION_ID_CREATE_CONTENT,
- new (std::nothrow) String(APPCONTROL_MIME_IMAGE_JPG), pDataList, null);
+ null, new (std::nothrow) String(APPCONTROL_MIME_IMAGE_JPG), pDataList, null);
break;
}
default:
void
FileListForm::OnSlideSettingPopUpItemSelected(int index)
{
-
- if ( __pPopUp != NULL)
+ if (__pPopUp != NULL)
{
__pPopUp->SetShowState(false);
}
pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_PATH), (Object*)pArrayList);
__pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_IMAGE, APPCONTROL_OPERATION_ID_VIEW,null, pDataList, null);
-
}
else if (index == 1) // go to settingsForm
{
TryReturnVoid(pSceneManager != null, "[%s] fail to get SceneManager", GetErrorMessage(GetLastResult()));
pSceneManager->GoForward(ForwardSceneTransition(IDSCN_SETTING_MAIN));
-
}
}