Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Hmm... The new caching script is a tad slow sometimes. Around 2-3 seconds to fully load the screen.

Here's the trade off:
No cache
- speedy script load
- requires connection to work
- fetches weather every time (uses more networking vs processing) and uses more data if u care about that. Each fetch is 6.9KB.

Cache
- works even no internet (just needed to be connected once to create cache)
- has to run on a database (uses more processing vs networking)
- slower script than no cache (because it has to cross check update time in database for fetch time)
- less data use. pings to check online status for about 0.83KB each time.

So the trade off is... speed vs utility and network efficiency. xD So far, this is the only method I'm aware of that can retain data without any special plugins or something like Cydget.

Here's what I've been using to test it. It's working, just wasn't sure the speed trade off was worth it. Maybe it can use some more optimizing...

EDIT: Hmm... I guess I'm feeling a magnified lag. When I develop this I keep locking and unlocking over and over to test... Now that I'm not working on it and just using it normally, it seems to work really well. :D

img1: screenshot right when it fetches new weather data -- gives estimate next update time.
img2: screenshot after unlock and relock before update time, so it uses cache since it's not update time yet.
img3: I had turned off all internet connection, and it was trying to update, but no internet... so it uses cache.
 

Attachments

  • IMG_0227.PNG
    IMG_0227.PNG
    889.9 KB · Views: 118
  • IMG_0228.PNG
    IMG_0228.PNG
    887.8 KB · Views: 116
  • IMG_0229.PNG
    IMG_0229.PNG
    890.7 KB · Views: 115
A newcomer from Hong Kong

Hmm... The new caching script is a tad slow sometimes. Around 2-3 seconds to fully load the screen.

Here's the trade off:
No cache
- speedy script load
- requires connection to work
- fetches weather every time (uses more networking vs processing) and uses more data if u care about that. Each fetch is 6.9KB.

Cache
- works even no internet (just needed to be connected once to create cache)
- has to run on a database (uses more processing vs networking)
- slower script than no cache (because it has to cross check update time in database for fetch time)
- less data use. pings to check online status for about 0.83KB each time.

So the trade off is... speed vs utility and network efficiency. xD So far, this is the only method I'm aware of that can retain data without any special plugins or something like Cydget.

Here's what I've been using to test it. It's working, just wasn't sure the speed trade off was worth it. Maybe it can use some more optimizing...

EDIT: Hmm... I guess I'm feeling a magnified lag. When I develop this I keep locking and unlocking over and over to test... Now that I'm not working on it and just using it normally, it seems to work really well. :D

img1: screenshot right when it fetches new weather data -- gives estimate next update time.
img2: screenshot after unlock and relock before update time, so it uses cache since it's not update time yet.
img3: I had turned off all internet connection, and it was trying to update, but no internet... so it uses cache.

I have read all message in this thread, and have been tried several themes that showed, but i can't change the location and also the weather icon cannot be showed, mind to have any hints that I can get done from your new development theme?

Thanks a lot!
 
How do you modify the html file to show a TWO DIGIT calendar day? Example is today: Sept 1 and I want it to show '01' not '1'.
 
How do you modify the html file to show a TWO DIGIT calendar day? Example is today: Sept 1 and I want it to show '01' not '1'.


I would also like to know how to change this..This lock screen went from really cool..to really akward when it hit 1 digit..it just unbalanced now.

Still working on this trying to get everything right.
img0094p.png
 
I really love the slanted lock screen and after using it for awhile I was curious if there was any way to animate the information that appears on the screen when the phone gets unlocked.

Basically what I want to have happen is when I unlock my phone the weather, time, date, etc. all slide off the screen and then my app icons slide onto the screen.

If I remember correctly the clock that shows on the standard Apple lock screen slides off to the top when the phone is unlocked. I think it would be really cool if I could have the slant lock screen data slide off in different directions when ever I unlock my phone.

So does anyone know if it is even possible to make this happen some how?
 
Quick question...

I have the theme from the very first post (date/times, etc on bottom half of screen) and I too would like to have the date have a 0 in front if it is a single digit day too...I looked through the html file and can't figure out how to add this.

Can someone help me? I really like the look but it does look weird with the gap there (as others have pointed out)...
 
I would also like to know how to change this..This lock screen went from really cool..to really akward when it hit 1 digit..it just unbalanced now.

Still working on this trying to get everything right.

Quick question...

I have the theme from the very first post (date/times, etc on bottom half of screen) and I too would like to have the date have a 0 in front if it is a single digit day too...I looked through the html file and can't figure out how to add this.

Can someone help me? I really like the look but it does look weird with the gap there (as others have pointed out)...

I believe you guys are using the original version from the first post. The version that I wrote will space the digits properly--or rather center and realigns things. It still only show 1 digit for single digit day. I aim for practical usage where quick glance can easily tell me which day it is, so I made it that way.

Also, expect Slanted Lock to be updated on Cydia soon. :) It will include caching and a nice settings approach.

See my screenshot below. Compare it to screenshot from previous page for two digits. It's using the same theme and same style. (the 1 "appears" to be shifted left... that's because the number 1 is written with its hook to the left. xD)
 

Attachments

  • IMG_0230.PNG
    IMG_0230.PNG
    886.3 KB · Views: 105
Wirelessly posted (iPhone 4 (32GB, JB): Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A306 Safari/6531.22.7)

HeLLaxGoOd said:
How do you modify the html file to show a TWO DIGIT calendar day? Example is today: Sept 1 and I want it to show '01' not '1'.


I would also like to know how to change this..This lock screen went from really cool..to really akward when it hit 1 digit..it just unbalanced now.

Still working on this trying to get everything right.
img0094p.png

I don't know if it was an intentional mistake (trying to sound cool) or not, but "Wensday" is not a word. ;)
 
I've noticed that after a random amount of time, my lockscreen goes blank while using lockms. it only returns to show the lockms text when i respring or restart the phone.

has anyone else had this issue?
 
Wirelessly posted (iPhone 4 (32GB, JB): Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A306 Safari/6531.22.7)



I don't know if it was an intentional mistake (trying to sound cool) or not, but "Wensday" is not a word. ;)


haha..got me there..my fault..that what i get for trying to finish at 5am..
already fixed..I will post it up as soon as i finish the months.!

thanks
 
how to change from 1 to 01

How do you modify the html file to show a TWO DIGIT calendar day? Example is today: Sept 1 and I want it to show '01' not '1'.

Find and add the following line in shown in red


body {
font-family:"Helvetica Neue";
background-color: #000000;
margin: 0;
padding: 265px 0 0 0;
height: 480px;
width: 320px;
background-image: url(Private/Background.png);
background-size: 61%;


Before:

var picture='';
myday=new Date();
myday=myday.getDate();
picture="<span style='font-family: Helvetica Neue; font-size: 88pt; color: #FFFFFF;'>"+myday+"</span>"
document.write(picture);


After:

myday=new Date();
myday=myday.getDate();
document.write((myday<10) ? '0'+myday+'' : myday+'');

also changed the font size to 110 or whatever size you prefer, you can also change the color since default is red.

FYI I am using the original file from the first page.
 
Good Post

Find and add the following line in shown in red


body {
font-family:"Helvetica Neue";
background-color: #000000;
margin: 0;
padding: 265px 0 0 0;
height: 480px;
width: 320px;
background-image: url(Private/Background.png);
background-size: 61%;


Before:

var picture='';
myday=new Date();
myday=myday.getDate();
picture="<span style='font-family: Helvetica Neue; font-size: 88pt; color: #FFFFFF;'>"+myday+"</span>"
document.write(picture);


After:

myday=new Date();
myday=myday.getDate();
document.write((myday<10) ? '0'+myday+'' : myday+'');

also changed the font size to 110 or whatever size you prefer, you can also change the color since default is red.

FYI I am using the original file from the first page.

Thanks Hidefguy! I changed the font color and position from the default and now looks great. Thanks again.
 
Just added the SlantedLockscreen to my Kryptonite theme....

IMG_1084.png


I wonder if there is a way to change the color of the fonts? With this wallpaper the town "Oak Park" and current weather condition, "Cloudy" surrounding the temp "81F" are almost invisible...
 
Just added the SlantedLockscreen to my Kryptonite theme....

IMG_1084.png


I wonder if there is a way to change the color of the fonts? With this wallpaper the town "Oak Park" and current weather condition, "Cloudy" surrounding the temp "81F" are almost invisible...

Hey I live in oak park! Sweet!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.