Samsung Electronics logo

Managing the Device Wallpapers



Learning how to set the device wallpaper and get information about it is a basic application development skill:

  1. To set the specified image as the lock screen wallpaper, use the setProperty() method:

    function setLockscreenWallpaper() 
    {
       try 
       {
           tizen.systemsetting.setProperty("LOCK_SCREEN", 
                                           "/opt/usr/media/Images/image1.jpg", 
                                           successCB, errorCB);
       }
    }
  2. To get the current system setting information for the home screen wallpaper, use the getProperty() method:

    function getHomescreenWallpaper() 
    {
       try 
       {
           tizen.systemsetting.getProperty("HOME_SCREEN", successCB, errorCB);
       }
    }