语言

Menu
Sites
Language
How to launch a default-lock-screen programmatically?

 

Hello,

Help me quickly . How to launch a default-lock-screen programmatically in Native or Web based app ?

 

Thanks,

Adal.

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

2 回复
Pushpa G
Yes you can, paste a new screen image file(As per your requirement) in any required folder And use the following code: String filepath = "/opt/share/settings/Wallpapers/image1.jpg"; String key(L"http://tizen.org/setting/screen.wallpaper.lock"); SettingInfo::SetValue(key,filepath); Here i have same image1.jpg in connection explorer(in IDE)->emulator(expand it)->/opt/share/settings/Wallpapers->image1.jpg
Pushpa G
Here i have saved* image1.jpg in connection explorer(in IDE)->emulator(expand it)->/opt/share/settings/Wallpapers->image1.jpg