if ( exist == true)
{
- String msg = CommonUtil::GetString(L"IDS_BR_POP_ALREADY_EXISTS");
+ String msg = CommonUtil::GetString(L"IDS_BR_POP_BOOKMARK_ALREADY_EXISTS");
CreateMessage(msg);
AppLogDebug("Bookmark already exists");
{
__pBrightnessSlider->SetEnabled(true);
AppLog("BatteryLvl %d",PowerManager::GetScreenBrightness());
- __pBrightnessSlider->SetValue(PowerManager::GetScreenBrightness());
+ __pBrightnessSlider->SetValue(sliderValue);
__pBrightnessSlider->Invalidate(true);
}
return false;
}
+ AppRegistry* pAppRegistry = App::GetInstance()->GetAppRegistry();
+ String sliderKey("SliderValue");
+
+ int sliderValue = 0;
+
+
+ r = pAppRegistry->Get(sliderKey, sliderValue);
+ r = PowerManager::SetScreenBrightness(sliderValue);
+
+ AppLog("Settingscreenbrightness to %d result %s",sliderValue , GetErrorMessage(r));
+
delete pArgList;
pArgList = null;
__pNewWindowInfo = null;
MainForm::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId,
const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs)
{
+
AppLog("MainForm::OnSceneActivatedN called");
String* pSelectedScene = NULL;
Object* pValue = NULL;
__pList->AddGroupedListViewItemEventListener(*this);
}
- pFooter = GetFooter();
- if (pFooter)
- {
- AppLogDebug("setting back button");
- pFooter->SetBackButtonEnabled(true);
- }
+// pFooter = GetFooter();
+// if (pFooter)
+// {
+// AppLogDebug("setting back button");
+// pFooter->SetBackButtonEnabled(true);
+// }
SetFormBackEventListener(this);
AppLog("SetFormBackEventListener result %s",GetErrorMessage(GetLastResult()));
pSceneManager = SceneManager::GetInstance();