Questions tagged [worklight-skins]

IBM Worklight skins provide support for multiple form factors in a single executable file for devices of the same OS family.

Different types of devices exist for a same environment. If you want to write a piece of code that is specific to a certain device, you must create a skin. Skin are sub-variants of an environment and they provide support for multiple form factors in a single executable file for devices of the same OS family. Skins are packaged together in one app. At run time, only the skin that corresponds to the target device is applied.

Source Help - IBM Worklight IBM Worklight skins.

5 questions
0
votes
1 answer

Worklight Runtime Skins - getSkinName not working properly

I am creating a sample for Worklight Runtime Skins for Android device by referring link "http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v610/05_03_Supporting_multiple_form_factors_using_Worklight_skins.pdf". I have changed JS,CSS…
0
votes
1 answer

IBM Worklight - "getSkinName is not defined"

I am trying to define a new android.tablet skin. I am testing with a Nexus 7 running KitKat. I did this: Added the Skin updated getSkinName() function I can see in LogCat the function getSkinName() being called However, there is a confusing…
0
votes
1 answer

Eclipse Null Pointer when adding HTML under skin folder

I have a simple hybrid App for Android phones. I have a skin folder created for Android tablets. I create an HTML file under the android.tablet but if this HTML file name match the same name of the HTML file under common folder then Eclipse shows a…
Jorge
  • 25
  • 6
0
votes
2 answers

IBM Worklight 6.0 - Does the Mobile Browser Simulator support Worklight Skins?

I would like to know if the Mobile Browser Simulator supports Skins using Worklight 6. In a previous discussion found in IBM Worklight forum Skins does not reflect on Mobile Browser simulator I found that IBM WL 5.0 does not support skins. What…
Lorenzo B
  • 33,216
  • 24
  • 116
  • 190
0
votes
1 answer

IBM Worklight - Frequently switch the skins after Application started-up

My observation is that a Worklight application invokes skinLoader.js->getSkinName one time if the application is just installed or updated with skin changed. Is it correct? Is there a way to switch the skins on-the-fly after the Worklight…
Kevin Lin
  • 37
  • 5