webos background image updating problem -


There is a priority screen in my application that has a feature to change the background color or theme, I am using PNG images as well. When I go to the main screen, I am using some other image based on the selected image in the preferences. To do this, I am changing the background image with the CSS in the inactive () method of the priority screen, in the emulator, it works fine. When I install the app on the device and check the same case, it shows the blank, then it changed the main screen image.

How can I avoid the moment of the empty background in the transition from the main location on the screen?

It seems that the second is going to load the image. You can sprat images together so that they are always stored in memory, or you can create a new image in JS and run visual transitions when the image is loaded.

  var img = new Image (); Img.onload = function () {/ * Run the visual transition} Img.src = "path / in / by / background";  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -