Mowd 自製 HTC Sense Cydget 支援天氣快取

 HTC Sense Cydget Theme
HTC Sense Cydget Theme
今天才在抱怨 Lock Calendar 更新之後變成了一個 Cydget
不但耗資源又裝了一堆不需要的程式
沒想到玩了一下,就做了一個 HTC Sense Cydget Theme 了 XD
先做出一個來玩玩,之後不知道會不會再更新
順便發佈到 Cydia 試試看
只要在 Cydia 搜尋 HTC Sense Cydget 就可以安裝了喔~

如果要修改地區,請修改以下檔案
/System/Library/LockCydgets/HTCSense.cydget/private/configureme.js
把 TWXX0009 改成相對應的地區即可
區域碼可以在 http://weather.com/ 輸入地區後查詢

For English Visitor

HTC Sense Cydget is the first theme can cache weather data. It can improve weather loading speed and provide weather when the network is unavailable.
To change the region of weather, edit this file at /System/Library/LockCydgets/HTCSense.cydget/private/configureme.js.
Homepage: https://blog.mowd.tw/p/834

If you like HTC Sense Cydget, please donate.

F.A.Q

1. How to change the locale in weather section?
Go to http://weather.com/ and enter your location to find it.

2. Where and how can I edit the configuration?
The configuration file is located at /System/Library/LockCydgets/HTCSense.cydget/private/configureme.js

Version History

1.0.0 Initial release
1.0.1 Fix icon
1.0.2 Support 24 hour format display
1.0.3 Add: clock 1 digit format support
    Add: custom location name
    Add: description in config file
    Add: Accuweather source
1.0.4 Fix: two digit display bug
1.1.0 Add: use PHP to provide weather cache mechanism
    Add: user can use custom background
    Add: high and low tempture indicator
1.1.1 Performance improvement
    Minor tweak
    Add: backup & restore mechanism to keep user's configureMe.js file from upgrade

Release soon:
1.1.2 Now HTC Sense Cydget load almost instantly
    Due to new config item was added in config file, disable config restore mechanism while upgrade to this version.
    Add: Localization support

73 關於 “Mowd 自製 HTC Sense Cydget 支援天氣快取” 的評論

  1. M@

    download iphone browser and navigate to the file path shown in cydia, download the file and edit the file in notepad, then save it back to your phone.

    回覆
  2. 米格虜

    您好~
    我下載安裝了…
    configureme.js也改了我要的城市,但是他還是跑出一堆英文字耶!
    Welcome to Cydget !
    請問我還要另外設定什麼呢?
    Thanks

    回覆
  3. jeffgu

    你好!今天裝了之後 如果在設定同時勾選
    HTCsense與lockcalandar
    會只顯示lockcalandar而HTCsense無法顯示
    如果單只HTCsense勾選才能夠顯示htc
    請問這樣是正常現象嗎???

    回覆
  4. 版大:

    我想要將這佈景向下移(因為會擋到背景圖),要在哪裡作修改︿︿

    謝謝~

    這裡順便感謝版大無私的分享~

    很實用的軟體

    回覆
  5. Sascha

    Hi, I found my place at weather.com but what I cannot find is that locale code. Could you please giv some advice?

    Greetings

    回覆
  6. Sascha

    OK, just in the moment when I pressed ENTER……
    For everybody: look into the adress line in your browser!

    Great cydget!!!

    回覆
  7. Chris

    Could I suggest adding a music cydget kind of thing on this coz I can't access music from double tappping home on the lockscreen

    回覆
    1. Mowd 文章作者

      This is cause by Cydget, not this cydget. Because Cydget use double click home button to switch between cydgets.

      回覆
  8. Roger

    您好,今天更新了 SBSetting, Activator, Categories, CategoriesSB, libhide 後,整個就變很慢了~ 再勞請您看看,感激不盡~

    回覆
  9. Rin

    一個很不錯的plug-in
    如能在往後個版本有以下提升會更好更方便
    1. 可在ipod/iphone settings內直接修改locale, source, wallpaper
    2. 提供weather以外的cydgets, eg. CPU/記憶體使用率
    3. 更快速完全啟動(我用iPod 2Gen要load大概2秒的時間)
    4. switching between cydgets 的方法可以改為向左/右滑動(我想大部分人都以為htc sense UI 的widget可以左右滑動吧- -)
    希望你們可以寫出更方便更切合用家需要的plug-in =]
    支持你們噢@@

    回覆
  10. rog

    changed isCeisius = false but the screen is blank. original setting is “isCeisius = truevar” tried falsevar and didn’t work.

    回覆
  11. mikey

    On further investigation, it would appear that I have the correct locale, but the data is not being updated. After modifying the configureme file, I rebooted and the temp was updated to the current temp. But that number has not changed since, even after a reboot.

    回覆
  12. mikey

    Doh! That’s the problem then. I am using an iPhone4 with iOS4.2. Thank you for the reply! Are there any plans to get this working?

    回覆
  13. Kenneth

    Hi Mowd,
    I see that you used php to create a cache file, i’m trying to do the same thing as u did, using ur code as reference, but I can’t seem to make it work, any instructions needed to make it work?

    回覆
  14. Kenneth

    Ah yes, actually, it’s already set to 777. btw, I am trying this on iOS4.1, I’ve read above it’s not really compatible with iOS4? But it seems it was able to update the weather.cache (not always, but it does) . It appears to always return code 4 for the readystatechange of the XMLHttpRequest, any ideas? Thanks!

    回覆
  15. Kenneth

    Ah yes, it might be the engine, I tried running the scripts on the same environment yours was running and it worked, thanks!

    回覆
    1. Mowd 文章作者

      There’s no way to get original size background image in iOS4, most of themes use thumb image but I think it’s no good. If you want background you could modify html and add background yourself.

      回覆
  16. Alex

    Hi , i have iphone 4 using ios4.3.3
    I don’t know why I can’t change the city to Toronto and background image? I’ve already changed it in configureMe.js
    thanks

    回覆
    1. Mowd 文章作者

      There’s no way to get original size background image in iOS4, most of themes use thumb image but I think it’s no good. If you want background you could modify html and add background yourself.

      回覆
  17. euge

    Hi,

    It doesn't work on 5.1.1 (no figures on the clock), though is so desirable. Any plans to make it compatible?

    回覆

發表迴響

你的電子郵件位址並不會被公開。