Languages

Menu
Sites
Language

Changing Home and Lock Screen programmatically

This code shows how to change the Home Screen or Lock Screen of Tizen mobile programmatically using Tizen Web API. Your images must be saved in images folder in your project.

Responses

4 Replies
Karanja Kiniaru

Hi Iqbal thanks for this.

Getting this error "Invalid parameter passed." after switching up abit to log the error as well

 function errorCB(ERROR)
    {
       console.log("It's not set" + ERROR);
    }

What could have changed?

Iqbal Hossain

hi Karanja Kiniaru

I have used a static path for the image. 

 var imagepath="images/home.jpeg";

That means you have to put a image named "home.jpeg" in images folder. 

Karanja Kiniaru

Hi @Iqbal Hossain,

Thanks for the response.

That's not it. I have toyed around quite abit with different images giving absolute paths in some cases with no luck.

Have you ran this lately and it works ok?

Iqbal Hossain

images

here images means images folder of filesystem. just put a image on that folder and try again.