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

在〈Mowd 自製 HTC Sense Cydget 支援天氣快取〉中有 73 則留言

  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. 1eyeMonster

    Or you can download iFile, via Cydia and edit the configureme.js. Much easier

    回覆
  3. 米格虜

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

    回覆
  4. Jackie

    請問我只出現時間 還有地點和日期,並沒有出現溫度..該修改什麼嗎?thanks

    回覆
    1. Mowd 文章作者

      今天晚上開始,yahoo天氣的來源出了問題,請先將天氣來源改為accuweather

      回覆
  5. carter

    改了HTC天氣後出現一堆英文字,刪除軟件包後 鎖頻都改不回來,請問怎麼辦

    回覆
  6. jeffgu

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

    回覆
    1. Mowd 文章作者

      Yes. You only need to type "HTC Sense Cydget" in cydia, and after install you need to modify configureMe.js.

      回覆
  7. Vlad

    Is there anyway to change to source of the weather forecasts from say Yahooweather to something else?

    回覆
  8. Jerry

    大大,我安裝後,不知如何改區碼啊!該如何刪除這個軟件呢?

    回覆
  9. 版大:

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

    謝謝~

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

    很實用的軟體

    回覆
  10. 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

    回覆
  11. Sascha

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

    Great cydget!!!

    回覆
  12. 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.

      回覆
  13. Roger

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

    回覆
  14. 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 =]
    支持你們噢@@

    回覆
    1. Mowd 文章作者

      感謝建議,不過目前應該沒有時間繼續更新了,況且cydget現在不支援iOS4

      回覆
  15. CHEN

    不好意思請問一下為什麼下載了但是Cydget裡面的選項都點不進去

    回覆
  16. 小宇

    我也是下載了 HTC Sense Cydget 後要進去CYDGET都點不進去….我是IPHINE4 4.1

    回覆
  17. rog

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

    回覆
  18. mikey

    Pardon my ignorance, but I can’t seem to get the locale working. Can you please provide an example?

    回覆
  19. 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.

    回覆
  20. 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?

    回覆
  21. 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?

    回覆
  22. 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!

    回覆
  23. Kenneth

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

    回覆
  24. Edward

    Hi Mowd,
    using Cydget for IOS4, everything works except no background. any suggestion?

    回覆
    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.

      回覆
  25. WJ

    How do You change the wallpaper easily ? I cant find the appropriate setting when I SSH ..

    回覆
  26. 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.

      回覆
    1. Mowd 文章作者

      /System/Library/LockCydgets/HTCSense.cydget/private/configureme.js
      把 TWXX0009 改成相對應的地區即可
      區域碼可以在 http://weather.com/ 輸入地區後查詢

      回覆
  27. 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?

    回覆

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *