ACTION_ID_CONTEXTMENU_HOME);
__pContextMenuSetAs->AddItem(ResourceManager::GetString(L"IDS_IV_HEADER_LOCK_SCREEN_WALLPAPER_ABB"),
ACTION_ID_CONTEXTMENU_LOCK);
- __pContextMenuSetAs->AddItem(ResourceManager::GetString(L"IDS_IV_POP_SET_WALLPAPER_FOR_HOME_SCREEN_AND_LOCK_SCREEN"),
+ __pContextMenuSetAs->AddItem(ResourceManager::GetString(L"IDS_IV_BODY_HOME_AND_LOCK_SCREENS"),
ACTION_ID_CONTEXTMENU_HOME_AND_LOCK);
__pContextMenuSetAs->AddItem(ResourceManager::GetString(L"IDS_IV_BODY_CALLER_IMAGE"),
ACTION_ID_CONTEXTMENU_CALLER);
if (index == 0) // start slide show
{
- int repeatValue = 0;
+ int repeatValue = 0;
+
+ int interval = 0 ;
+
if (__pPresentationModel->GetFileCount() > 1)
{
int shuffleValue;
+ __pSettingPresentationModel->GetValue(SECTION_NAME_IMAGE_VIEWER,
+ ENTRY_NAME_IMAGE_VIEWER_SLIDESHOW_INTERVAL, interval);
+
+ interval = interval * 1000;
+ AppLogDebug("The slide interval is %d", interval);
+ __pGallery->SetSlideShowViewDuration(interval);
+
__pGallery->UpdateGallery();
{
AppLogDebug("ENTER");
- String valueRegistryString = L"";
- AppManager* pAppManager = AppManager::GetInstance();
- TryReturn(pAppManager != null, E_FAILURE, "Failed to get AppManager");
- String pathGallerySetting =
- pAppManager->GetAppSharedPath(GALLERY_APP_ID) + PATH_DATA_DIRECTORY + PATH_GALLERY_SETTINGS;
- if (GetLastResult() == E_APP_NOT_INSTALLED)
- {
- AppLogDebug("GETSHAREPATH(The expected shared directory cannot be found because the application specified "
- "with appId cannot be installed.)");
- }
- else
- {
- AppLogDebug("GETSHAREPATH(%ls)",pathGallerySetting.GetPointer());
- }
-
- if (File::IsFileExist(pathGallerySetting))
- {
- AppLogDebug("Already exist camcorder settings file");
- __pAppGalleryRegistry = new (nothrow) Registry();
- __pAppGalleryRegistry->Construct(pathGallerySetting, "r");
- }
+ __pAppGalleryRegistry = new (nothrow) Registry();
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
return E_SUCCESS;
{
AppLogDebug("ENTER");
result r = E_SUCCESS;
+ String valueRegistryString = L"";
+ AppManager* pAppManager = AppManager::GetInstance();
+ TryReturn(pAppManager != null, E_FAILURE, "Failed to get AppManager");
+ String pathGallerySetting =
+ pAppManager->GetAppSharedPath(GALLERY_APP_ID) + PATH_DATA_DIRECTORY + PATH_GALLERY_SETTINGS;
+
+ if (File::IsFileExist(pathGallerySetting))
+ {
+ AppLogDebug("Already exist camcorder settings file");
+ __pAppGalleryRegistry->Construct(pathGallerySetting, "r");
+ }
+
if (__pAppGalleryRegistry != null)
{
r = __pAppGalleryRegistry->GetValue(strSectionName, entryName, value);
{
AppLogDebug("ENTER");
result r = E_SUCCESS;
+ String valueRegistryString = L"";
+ AppManager* pAppManager = AppManager::GetInstance();
+ TryReturn(pAppManager != null, E_FAILURE, "Failed to get AppManager");
+ String pathGallerySetting =
+ pAppManager->GetAppSharedPath(GALLERY_APP_ID) + PATH_DATA_DIRECTORY + PATH_GALLERY_SETTINGS;
+
+ if (File::IsFileExist(pathGallerySetting))
+ {
+ AppLogDebug("Already exist camcorder settings file");
+ __pAppGalleryRegistry->Construct(pathGallerySetting, "r");
+ }
+
if (__pAppGalleryRegistry != null)
{
r = __pAppGalleryRegistry->GetValue(strSectionName, entryName, value);