AppRegistry* pAppRegistry = App::GetInstance()->GetAppRegistry();
String sliderKey("SliderValue");
- int sliderValue = 0;
+ int sliderValue = 10;
result r = pAppRegistry->Get(sliderKey, sliderValue);
r = PowerManager::SetScreenBrightness(sliderValue);