+ Reply
Page 28 of 206 FirstFirst ... 182627282930 38 78 128 ... LastLast
Results 541 to 560 of 4114

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Widget Weather

is a discussion within the

File Mods

forums, a part of the

iPhone Modding

section;
...
  1. #541
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,898
    Thanked 8,485 Times in 1,500 Posts

    Quote Originally Posted by Andycots View Post
    done that, still no luck, although the widgetweather.xml file has turned up now.
    Ok. Itīs strange. CAN you post again your XML file, please ?


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  2. The Following User Says Thank You to Dacal For This Useful Post:

    King_O_Hill (08-20-2013)

  3. #542
    Green Apple
    Join Date
    Apr 2010
    Posts
    59
    Thanks
    6
    Thanked 25 Times in 16 Posts

    Quote Originally Posted by Dacal View Post
    Ok. Itīs strange. CAN you post again your XML file, please ?
    <xml>
    <currentcondition>
    <name>Bishop's Stortford</name>
    <city>Bishop's Stortford</city>
    <locationid>UKXX0739</locationid>
    <woeid>26345720</woeid>
    <state>England</state>
    <temp>18</temp>
    <code>33</code>
    <timezone>GMT+1</timezone>
    <sunsettime>20:12</sunsettime>
    <sunrisetime>05:48</sunrisetime>
    <moonphase>13</moonphase>
    <moonfacevisible>99.9%</moonfacevisible>
    <celsius>YES</celsius>
    <observationtime>20:49</observationtime>
    <latitude>51.88</latitude>
    <longitude>0.19</longitude>
    <humidity>56</humidity>
    <pressure>1015.92</pressure>
    <rising>0</rising>
    <visibility>9.99</visibility>
    <chill>18</chill>
    <direction>0</direction>
    <speed>4.83</speed>
    <unitsdistance>km</unitsdistance>
    <unitspressure>mb</unitspressure>
    <unitsspeed>km/h</unitsspeed>
    <unitstemperature>C</unitstemperature>
    <extraLocName>51.872039, 0.193877</extraLocName>
    <extraLocPostal>CM23 5</extraLocPostal>
    <extraLocNeighborhood>Bishops Stortford</extraLocNeighborhood>
    <extraLocCity>Bishops Stortford</extraLocCity>
    <extraLocCounty>Hertfordshire</extraLocCounty>
    <extraLocState>England</extraLocState>
    <extraLocCountry>United Kingdom</extraLocCountry>
    <extraLocCountryCode>GB</extraLocCountryCode>
    <extraLocStateCode>ENG</extraLocStateCode>
    <extraLocCountyCode>HRT</extraLocCountyCode>
    <extraLocUzip>CM23 5</extraLocUzip>
    </currentcondition>
    <dayforcast>
    <day>
    <high>24</high>
    <low>12</low>
    <code>29</code>
    <pop>0</pop>
    <dayofweek>3</dayofweek>
    </day>
    <day>
    <high>24</high>
    <low>15</low>
    <code>30</code>
    <pop>20</pop>
    <dayofweek>4</dayofweek>
    </day>
    <day>
    <high>26</high>
    <low>13</low>
    <code>39</code>
    <pop>40</pop>
    <dayofweek>5</dayofweek>
    </day>
    <day>
    <high>27</high>
    <low>14</low>
    <code>28</code>
    <pop>60</pop>
    <dayofweek>6</dayofweek>
    </day>
    <day>
    <high>23</high>
    <low>14</low>
    <code>30</code>
    <pop>20</pop>
    <dayofweek>7</dayofweek>
    </day>
    <day>
    <high>21</high>
    <low>11</low>
    <code>30</code>
    <pop>10</pop>
    <dayofweek>1</dayofweek>
    </day>
    </dayforcast>
    <hourforcast>
    <hour>
    <temp>17</temp>
    <time24hour>22:00</time24hour>
    <code>29</code>
    <percentprecipitation>0</percentprecipitation>
    </hour>
    <hour>
    <temp>16</temp>
    <time24hour>23:00</time24hour>
    <code>29</code>
    <percentprecipitation>0</percentprecipitation>
    </hour>
    <hour>
    <temp>15</temp>
    <time24hour>00:00</time24hour>
    <code>33</code>
    <percentprecipitation>0</percentprecipitation>
    </hour>
    <hour>
    <temp>14</temp>
    <time24hour>01:00</time24hour>
    <code>33</code>
    <percentprecipitation>0</percentprecipitation>
    </hour>
    <hour>
    <temp>14</temp>
    <time24hour>02:00</time24hour>
    <code>33</code>
    <percentprecipitation>0</percentprecipitation>
    </hour>
    <hour>
    <temp>13</temp>
    <time24hour>03:00</time24hour>
    <code>29</code>
    <percentprecipitation>0</percentprecipitation>
    </hour>
    <hour>
    <temp>13</temp>
    <time24hour>04:00</time24hour>
    <code>29</code>
    <percentprecipitation>0</percentprecipitation>
    </hour>
    <hour>
    <temp>12</temp>
    <time24hour>05:00</time24hour>
    <code>29</code>
    <percentprecipitation>0</percentprecipitation>
    </hour>
    <hour>
    <temp>12</temp>
    <time24hour>06:00</time24hour>
    <code>30</code>
    <percentprecipitation>0</percentprecipitation>
    </hour>
    <hour>
    <temp>13</temp>
    <time24hour>07:00</time24hour>
    <code>30</code>
    <percentprecipitation>0</percentprecipitation>
    </hour>
    <hour>
    <temp>14</temp>
    <time24hour>08:00</time24hour>
    <code>30</code>
    <percentprecipitation>0</percentprecipitation>
    </hour>
    <hour>
    <temp>16</temp>
    <time24hour>09:00</time24hour>
    <code>30</code>
    <percentprecipitation>0</percentprecipitation>
    </hour>
    </hourforcast>
    <settings> <interval>30</interval>
    <timehour>12h</timehour>
    <tempunit>c</tempunit>
    <extralog>0</extralog>
    <autogpsupdate>gps</autogpsupdate>
    <manualwoied></manualwoied>
    <extraweather>1</extraweather>
    <extralocation>1</extralocation>
    <service>YES</service>
    </settings></xml>

  4. The Following User Says Thank You to Andycots For This Useful Post:

    King_O_Hill (08-20-2013)

  5. #543
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,898
    Thanked 8,485 Times in 1,500 Posts

    Quote Originally Posted by Andycots View Post
    <xml> ...</xml>
    OK. Can you edit the main.js file and replace the entire updateWeather function with that ?

    It's a workaround, missing a tag in your XML.

    EDIT : complete main.js file 3 or 4 post below.
    Last edited by Dacal; 08-20-2013 at 04:20 PM.


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  6. The Following 3 Users Say Thank You to Dacal For This Useful Post:

    Alfroggy (08-20-2013), King_O_Hill (08-20-2013), The_Durben (08-20-2013)

  7. #544
    Green Apple
    Join Date
    Apr 2010
    Posts
    59
    Thanks
    6
    Thanked 25 Times in 16 Posts

    Quote Originally Posted by Dacal View Post
    OK. Can you edit the main.js file and replace the entire updateWeather function with that ?

    It's a workaround, missing a tag in your XML.
    i can edit the file, but you lost me a bit, can you clarify.

  8. The Following User Says Thank You to Andycots For This Useful Post:

    King_O_Hill (08-20-2013)

  9. #545
    ----NewD 2.0---- NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,624
    Thanks
    4,016
    Thanked 8,840 Times in 4,439 Posts

    Quote Originally Posted by King_O_Hill View Post
    When set to constant, the tweak is comparing your current location to your last location. If they differ by lets say, (can't remember the actual amount) a 100 meter radius, then it forces an update using the new coordinates. If you stay within that radius for the next 10 hours, then it will update based on the update time that you have selected. Now when I say update, I am referring to the updating of the XML file only. Your widget will have its own update interval that tells it when to pull the data. I would think that the widgets update interval is set to update very frequently, as it is only pulling from a local file and not an internet feed.
    That's very helpful, Brian. Thanks! That's how I thought I understood it.. It's great to hear that the xml getting updated is based on a change detected from GPS within that 100 meter radius. Good stuff. So if I'm on constant mode all the time I can set that 'update interval' in the tweak higher to possibly save some battery.. But I'm still concerned about the widget itself's update interval. I think each widget implements differently. I remember Ian talking of SOME every 20 second thing that UniAW does. Even under myLocation - UniAW has WICKED fast updating - especially after the $ajax timeout code line was added.

    Quote Originally Posted by Dacal View Post
    Hi ! Perfect explaination King.
    Fyi, like the MyLocation based tweaks, the widgets based on Widget Weather tweak check if the XML file has been updated all 20 seconds.
    AH YES!!! THERE ARE THE MAGIC WORDS!! I knew UniAW had some 'faster check' method in it. I'm SO grateful -- you kept that CHECK every 20 sec in the WW version too, Dacal. Okay.. I feel great about all that.

    It's still been fun sort of pitting myLocation against Widget Weather. Make no mistake - WW is superior - BUT NOT BY LEAPS AND BOUNDS. myLocation is still VERY fast with UniAW implementation. For other iWidgets and SB Wids and LS' - that don't employ the every 20 second check... they are MUUUCH slower than Widget Weather. It will be SO great when ALL the widgets adopt this new standard - as I think - even without the 20 second check on the xml - WW will get info to the widgets faster..


    And would I be correct in saying - that an update interval set to very low (1 minute) when it's only checking an internal file on your phone is a LOT less battery intensive than checking a FEED every 1 minute? Hence we shouldn't be as afraid to choose LOW numbers? (1 min??). Or did UniAW also only ever check the myLocation.txt file - internal as well.. I remember back in the day being warned NEVER to set the update interval below 15 minutes because it would drain battery at a lot smaller numbers...

    Thanks,
    Grant
    Last edited by NewdestinyX; 08-20-2013 at 03:20 PM.
    Here to help if I can. If I can't I know someone who can!

  10. The Following 2 Users Say Thank You to NewdestinyX For This Useful Post:

    Alfroggy (08-20-2013), King_O_Hill (08-20-2013)

  11. #546
    Green Apple
    Join Date
    Apr 2010
    Posts
    59
    Thanks
    6
    Thanked 25 Times in 16 Posts

    Quote Originally Posted by Andycots View Post
    i can edit the file, but you lost me a bit, can you clarify.
    here is my main js
    Last edited by Andycots; 08-20-2013 at 03:38 PM.

  12. The Following 2 Users Say Thank You to Andycots For This Useful Post:

    Dacal (08-20-2013), King_O_Hill (08-20-2013)

  13. #547
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,898
    Thanked 8,485 Times in 1,500 Posts

    Quote Originally Posted by Andycots View Post
    i can edit the file, but you lost me a bit, can you clarify.
    Hi !

    In your XML, and i sincerely don't know why, there is a missing tag in your XML. I use the information provides by this one to check if the weather condition has been updated. As the tag is missing, the code does not work...

    Here the complete main.js. Replace with this one.

    Derick, King, if you have an idea why this tag is missing ? I have tried with "Fixed" method with his woeid. It's working fine for me. Maybe need to talk about that at Stephen.

    Dacal

    PS : can you edit your post ? Not necessary to put all the man.js, too long...
    Last edited by Dacal; 08-20-2013 at 03:29 PM.


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  14. The Following 4 Users Say Thank You to Dacal For This Useful Post:

    Alfroggy (08-20-2013), Andycots (08-20-2013), King_O_Hill (08-20-2013), The_Durben (08-20-2013)

  15. #548
    Green Apple
    Join Date
    Apr 2010
    Posts
    59
    Thanks
    6
    Thanked 25 Times in 16 Posts

    Quote Originally Posted by Dacal View Post
    Hi !

    In your XML, and i sincerely don't know why, there is a missing tag in your XML. I use the information provides by this one to check if the weather condition has been updated. As the tag is missing, the code does not work...

    Here the complete main.js. Replace with this one.

    Derick, King, if you have an idea why this tag is missing ? I have tried with "Fixed" method with his woeid. It's working fine for me. Maybe need to talk about that at Stephen.

    Dacal
    Great stuff, thank you very much for you help and patience. Working a treat now.

    Cheers

    Thanks again

    ImageUploadedByModMyi1377034291.182162.jpg

    Is or are you doing a sb version of this.

  16. The Following 2 Users Say Thank You to Andycots For This Useful Post:

    Alfroggy (08-20-2013), Dacal (08-20-2013)

  17. #549
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,898
    Thanked 8,485 Times in 1,500 Posts

    Quote Originally Posted by Andycots View Post
    Great stuff, thank you very much for you help and patience. Working a treat now.

    Cheers

    Thanks again

    Attachment 646383

    Is or are you doing a sb version of this.
    U're welcome, there is something strange in your XML. I think a tweak or something else is conflicting with WW tweak. BTW, you don't have my custom slider ? It's a choice or anything else ?

    Please, edit your looooooooong post . Useless


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  18. The Following 4 Users Say Thank You to Dacal For This Useful Post:

    Alfroggy (08-20-2013), King_O_Hill (08-20-2013), RKO1195 (08-20-2013), The_Durben (08-20-2013)

  19. #550
    Livin the iPhone Life Simon76's Avatar
    Join Date
    Aug 2009
    Location
    Boston
    Posts
    2,557
    Thanks
    1,857
    Thanked 867 Times in 653 Posts

    Widget Weather-001.png


    can somebody help me with this,mine doesnt show the weather,thanks

  20. #551
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,898
    Thanked 8,485 Times in 1,500 Posts

    Quote Originally Posted by Simon76 View Post
    Attachment 646384


    can somebody help me with this,mine doesnt show the weather,thanks
    First, after installing the tweak, reboot. Then go in the settings of Widget Weather, set the mode to "semi" and respring. If does not work, check if you have the widgetweather.xml file generated in var/mobile/Documents folder.


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  21. The Following 4 Users Say Thank You to Dacal For This Useful Post:

    Alfroggy (08-20-2013), King_O_Hill (08-20-2013), RKO1195 (08-20-2013), The_Durben (08-20-2013)

  22. #552
    Green Apple
    Join Date
    Apr 2010
    Posts
    59
    Thanks
    6
    Thanked 25 Times in 16 Posts

    Quote Originally Posted by Dacal View Post
    BTW, you don't have my custom slider ? It's a choice or anything else ?
    Am not sure myself, looking into it, has taken me days just getting the widget working so will manage with slider for another day or two.

    Thanks again.

  23. The Following 2 Users Say Thank You to Andycots For This Useful Post:

    Dacal (08-20-2013), King_O_Hill (08-20-2013)

  24. #553
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,148
    Thanks
    40,436
    Thanked 17,067 Times in 6,236 Posts

    Grant,

    Yes, pulling the data from a local file uses far less resources then from a feed.

    Dacal,

    Thank you so much for helping troubleshoot these issues.

    Brian
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

  25. The Following 6 Users Say Thank You to King_O_Hill For This Useful Post:

    Alfroggy (08-20-2013), Dacal (08-20-2013), Krima (08-20-2013), NewdestinyX (08-20-2013), The.Drifter (08-20-2013), The_Durben (08-20-2013)

  26. #554
    The Mechanic The_Durben's Avatar
    Join Date
    Aug 2010
    Location
    Vancouver Canada
    Posts
    8,424
    Thanks
    34,944
    Thanked 40,561 Times in 7,513 Posts

    Quote Originally Posted by Andycots View Post
    Am not sure myself, looking into it, has taken me days just getting the widget working so will manage with slider for another day or two.

    Thanks again.
    Do you have Location Services on and Weather on in there?

    Settings app/Privacy/Location Services


    Wondering if the update time string is involved with that at all.

  27. The Following 4 Users Say Thank You to The_Durben For This Useful Post:

    Alfroggy (08-20-2013), Dacal (08-20-2013), King_O_Hill (08-20-2013), nik1975 (08-20-2013)

  28. #555
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,898
    Thanked 8,485 Times in 1,500 Posts

    Quote Originally Posted by The_Durben View Post
    Do you have Location Services on and Weather on in there?

    Settings app/Privacy/Location Services


    Wondering if the update time string is involved with that at all.
    Good idea to check that.


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  29. The Following 2 Users Say Thank You to Dacal For This Useful Post:

    King_O_Hill (08-20-2013), The_Durben (08-20-2013)

  30. #556
    The Mechanic The_Durben's Avatar
    Join Date
    Aug 2010
    Location
    Vancouver Canada
    Posts
    8,424
    Thanks
    34,944
    Thanked 40,561 Times in 7,513 Posts

    First post updated.

    * New Version of Widget Weather tweak (1.4-6)
    * Added UniAW by Dacal and Ian Nicoll

  31. The Following 7 Users Say Thank You to The_Durben For This Useful Post:

    Alfroggy (08-20-2013), Dacal (08-20-2013), Dexy88 (08-20-2013), Ian Nicoll (08-20-2013), King_O_Hill (08-20-2013), lostinthemes (08-23-2013), Marty McFly (08-20-2013)

  32. #557
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in Philippines.
    Posts
    4,909
    Thanks
    7,524
    Thanked 19,023 Times in 3,874 Posts

    Hi,

    So sorry I just got a few minutes and maybe I missed something: has the tweak been updated recently and why is it password protected now?

    Thanks.



    EDIT..

    NVM, I guess I just posted this a little early LOL.. it;s working now.

    "If it's not broken, I'll fix it till it is"

  33. The Following 4 Users Say Thank You to Ian Nicoll For This Useful Post:

    Dacal (08-20-2013), King_O_Hill (08-20-2013), Marty McFly (08-20-2013), The_Durben (08-20-2013)

  34. #558
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,898
    Thanked 8,485 Times in 1,500 Posts

    Quote Originally Posted by Ian Nicoll View Post
    Hi,

    So sorry I just got a few minutes and maybe I missed something: has the tweak been updated recently and why is it password protected now?

    Thanks.



    EDIT..

    NVM, I guess I just posted this a little early LOL.. it;s working now.
    Morning Ian, tweak has been updated today .


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  35. The Following 4 Users Say Thank You to Dacal For This Useful Post:

    Alfroggy (08-20-2013), Ian Nicoll (08-20-2013), King_O_Hill (08-20-2013), Marty McFly (08-20-2013)

  36. #559
    The Mechanic The_Durben's Avatar
    Join Date
    Aug 2010
    Location
    Vancouver Canada
    Posts
    8,424
    Thanks
    34,944
    Thanked 40,561 Times in 7,513 Posts

    Quote Originally Posted by Dacal View Post
    Morning Ian, tweak has been updated today .
    Exactly

    No password on current version/link

    I put the password on previous versions so links that may be floating around wont work.

  37. The Following 4 Users Say Thank You to The_Durben For This Useful Post:

    Ian Nicoll (08-20-2013), King_O_Hill (08-20-2013), Marty McFly (08-20-2013), TEK_2012 (08-22-2013)

  38. #560
    2k1
    2k1 is offline
    Sug Luv Super Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,053
    Thanks
    1,815
    Thanked 7,063 Times in 4,205 Posts

    Will this ever be in cydia?

  39. The Following 2 Users Say Thank You to 2k1 For This Useful Post:

    King_O_Hill (08-20-2013), nik1975 (08-20-2013)

LinkBacks (?)

  1. 08-08-2013, 04:14 PM

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts