Thursday, September 12, 2013

Editing Winterboard Lockscreens to work with Cydgets

For many  this will be an easy transition, only a few things to do.

First off we need to make sure your existing lockscreen is able to work correctly, in 'Webview'.

This is pretty simple the most part. Usually includes adding

    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>

This allows your html to fit the device screen.


File naming: In cydgets you will need to name your theme. myTheme.cydget

Info.plist: Here you set the name and location of your html. Also you can activate scrolling

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Configuration</key>
  <dict>
    <key>Homepage</key>
    <string>file:///System/Library/LockCydgets/upload.cydget/index.html</string>
    <key>Scrollable</key>
    <string>NO</string>
  </dict>
  <key>Plugin</key>
  <string>WebCycriptLockScreen</string>
  <key>Tagline</key>
  <string>miLockSimple</string>
</dict>
</plist>

This need to be added to the base folder of your theme.

Thats it.

No comments:

Post a Comment