+ Reply
Page 46 of 200 FirstFirst ... 364445464748 56 96 146 ... LastLast
Results 901 to 920 of 3996

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;
Originally Posted by j0k3r ...nice words Is there a way, that the WW updates my weather/location, when im in sleep mode, too? I think UNiAW can do this, i can
...
  1. #901
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    8,835
    Thanks
    39,029
    Thanked 16,351 Times in 5,989 Posts

    Quote Originally Posted by j0k3r View Post
    ...nice words

    Is there a way, that the WW updates my weather/location, when im in sleep mode, too?
    I think UNiAW can do this, i can see that at the Update time.
    It will until it goes into deep sleep.
    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!

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

    The_Durben (08-27-2013)

  3. #902
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,889
    Thanks
    2,885
    Thanked 8,475 Times in 1,496 Posts

    Quote Originally Posted by j0k3r View Post
    ...nice words

    Is there a way, that the WW updates my weather/location, when im in sleep mode, too?
    I think UNiAW can do this, i can see that at the Update time.
    No. It's the way it works, to preserve battery life. But it updates quickly after you wake up your phone.


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

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

    Alfroggy (08-28-2013), Hip5 (09-16-2013), King_O_Hill (08-28-2013), mcooper (08-27-2013), NewdestinyX (08-27-2013), RKO1195 (08-27-2013), TEK_2012 (08-28-2013), The_Durben (08-27-2013)

  5. #903
    The Big D NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,393
    Thanks
    3,666
    Thanked 8,456 Times in 4,293 Posts

    Noticed something interesting today. Want to know if it's a design aspect of the tweak. With the new iWidget I created.. I often rely on it for City and Township and will change whatever an SB widget modder uses for CITY to grab COUNTY from the XML instead and use CITY/TOWNSHIP from my iWidget..

    But I noticed that the 'extra Location information' which has its own switch in the tweak -- updates at a different time.... I was sitting at dinner and the County (that I'd changed from City) in the Ezra2 SB Widget Dacal made 'and' the Alternate City (extraLocCity) in my iWidget changed TOGETHER -- BEFORE the city in my iWidget changed... Is that normal behavior? The update intervals in the two widgets (Dacal's SB Ezra2 Widget and my City/AltLoc iWidget) - were the same: 5 minutes. But it's like the EXTRA location information was updated in the XML BEFORE the CITY ('name'/'city') information was changed..

    So for a moment the XML read:
    'name' - WAYNE
    'city'- WAYNE
    'extraLocCity' - Upper Merion
    'extraLocCounty' - Montgomery

    ("Wayne" is not in Upper Merion Township nor Montgomery County)

    And then 3-4 minutes later the XML read:
    'name' - KING OF PRUSSIA
    'city'- KING OF PRUSSIA
    'extraLocCity' - Upper Merion
    'extraLocCounty' - Montgomery

    "King of Prussia" IS in Upper Merion Township/Montgomery County

    So I'm wondering if the Tweak gets EXTRA LOCATION data at a different time rate than CITY/NAME... Is that possible?
    Last edited by NewdestinyX; 08-27-2013 at 06:49 PM.
    Here to help if I can. If I can't I know someone who can!

  6. The Following User Says Thank You to NewdestinyX For This Useful Post:

    King_O_Hill (08-28-2013)

  7. #904
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in Philippines, German company, work worldwide, currently in Sri Lanka.
    Posts
    4,785
    Thanks
    7,269
    Thanked 18,422 Times in 3,764 Posts

    Hi Grant M8,

    Sometimes your questions give me a headache

    No offense M8.

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

  8. The Following 10 Users Say Thank You to Ian Nicoll For This Useful Post:

    Alfroggy (08-28-2013), EricB78 (08-28-2013), King_O_Hill (08-28-2013), Krima (08-28-2013), lostinthemes (08-28-2013), Marty McFly (08-28-2013), mentop (08-28-2013), RKO1195 (08-28-2013), The.Drifter (08-28-2013), The_Durben (08-28-2013)

  9. #905
    Etch A Alfroggy's Avatar
    Join Date
    Jun 2011
    Location
    France
    Posts
    5,156
    Thanks
    30,200
    Thanked 8,481 Times in 3,565 Posts

    I'm King of Pussia.
    Last edited by Alfroggy; 08-28-2013 at 02:33 AM.
    Originally Posted by vXBaKeRXv
    This dude people is nothing but negative. "ALFROGGY"

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

    Jato_BZ (08-28-2013), King_O_Hill (08-28-2013)

  11. #906
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in Philippines, German company, work worldwide, currently in Sri Lanka.
    Posts
    4,785
    Thanks
    7,269
    Thanked 18,422 Times in 3,764 Posts

    I'm the "Cookie breaker" King.

    Grant is definitely: "The king of questions"

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

  12. The Following 8 Users Say Thank You to Ian Nicoll For This Useful Post:

    Alfroggy (08-28-2013), EricB78 (08-28-2013), Jato_BZ (08-28-2013), King_O_Hill (08-28-2013), lostinthemes (08-28-2013), RKO1195 (08-28-2013), The.Drifter (08-28-2013), The_Durben (08-28-2013)

  13. #907
    Modder EricB78's Avatar
    Join Date
    Dec 2010
    Location
    New Jersey
    Posts
    4,875
    Thanks
    13,175
    Thanked 16,787 Times in 4,147 Posts

    Quote Originally Posted by King_O_Hill View Post
    It will until it goes into deep sleep.
    Would that be REM sleep?

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

    Jato_BZ (08-28-2013), King_O_Hill (08-28-2013), TEK_2012 (08-28-2013), The_Durben (08-28-2013)

  15. #908
    Livin the iPhone Life Happy363's Avatar
    Join Date
    Nov 2010
    Posts
    1,277
    Thanks
    1,248
    Thanked 1,561 Times in 670 Posts

    @ work so no real time to do a lot of reading! Wondering if someone can tell me how to set to fahrenheit I followed directions on first page everything is working but that! Tried respring and reboot after setting to fahrenheit and nothing! Can someone enlighten me?

    Love it by the way excellent job on tweak and mods guys!

    Forget it guys talking about a delayed reaction!! Lol 10 minutes later it changed! All is good better a delayed reaction then no reaction! Thanx all involved awesome!!
    Last edited by Happy363; 08-28-2013 at 05:13 AM.

  16. The Following 3 Users Say Thank You to Happy363 For This Useful Post:

    Alfroggy (08-28-2013), King_O_Hill (08-28-2013), RKO1195 (08-28-2013)

  17. #909
    The Big D NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,393
    Thanks
    3,666
    Thanked 8,456 Times in 4,293 Posts

    Quote Originally Posted by Ian Nicoll View Post
    Hi Grant M8,

    Sometimes your questions give me a headache

    No offense M8.
    Yeah.. I reread my post this morning and even I thought.. " WHAT THE HELL does THAT mean..,,!???

    Sorry about that.. It's in my setup to the actual question for the info I need that can get lost in the trees.

    A simpler more direct question should have read:

    "Does the tweak update the Extra Location data with a separate subroutine than it does the main city data?" - I'm observing them to be written to the XML at different times.

    Clearer question?
    Way less words?

    Last edited by NewdestinyX; 08-28-2013 at 05:51 AM.
    Here to help if I can. If I can't I know someone who can!

  18. The Following 6 Users Say Thank You to NewdestinyX For This Useful Post:

    Alfroggy (08-28-2013), Dacal (08-28-2013), ferlop15 (08-28-2013), Ian Nicoll (08-28-2013), King_O_Hill (08-28-2013), The_Durben (08-28-2013)

  19. #910
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in Philippines, German company, work worldwide, currently in Sri Lanka.
    Posts
    4,785
    Thanks
    7,269
    Thanked 18,422 Times in 3,764 Posts

    Hey Grant, it's no problem M8, we're all use to it by now bud, if you just posted the short version we would all be wondering who you were.

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

  20. The Following 7 Users Say Thank You to Ian Nicoll For This Useful Post:

    Alfroggy (08-28-2013), King_O_Hill (08-28-2013), Krima (08-28-2013), lostinthemes (08-28-2013), NewdestinyX (08-28-2013), RKO1195 (08-28-2013), The_Durben (08-28-2013)

  21. #911
    widget modder RKO1195's Avatar
    Join Date
    Aug 2010
    Location
    Alabama
    Posts
    2,213
    Thanks
    9,815
    Thanked 5,008 Times in 1,711 Posts

    Yea I agree you write way to long it's like reading a short story lol.. far as I know it should update at the same time but I haven't been watching that close.
    WidgetWeather ​Thread

  22. The Following 4 Users Say Thank You to RKO1195 For This Useful Post:

    Ian Nicoll (08-28-2013), King_O_Hill (08-28-2013), Krima (08-28-2013), TEK_2012 (08-28-2013)

  23. #912
    The Big D NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,393
    Thanks
    3,666
    Thanked 8,456 Times in 4,293 Posts

    Quote Originally Posted by Ian Nicoll View Post
    Hey Grant, it's no problem M8, we're all use to it by now bud, if you just posted the short version we would all be wondering who you were.
    LOL!! Yeah.. I guess not....

    Well - I'm a detail guy and a well-asked technical question, in my work over the years, I've learned, is about giving sufficient background info. But my original question wasn't worded too round-about..

    Quote Originally Posted by RKO1195 View Post
    Yea I agree you write way to long it's like reading a short story lol.. far as I know it should update at the same time but I haven't been watching that close.
    The Extra Location data has its own switch in the tweak.. That's what leads me to believe they're handled as separate subroutines and potentially separate update timings. In the WW widgets I'm using the XML is definitely getting the main data and Extra Location data at different times. I just want to know if it's by design or a bug. That's all.
    Last edited by NewdestinyX; 08-28-2013 at 06:15 AM.
    Here to help if I can. If I can't I know someone who can!

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

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

  25. #913
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in Philippines, German company, work worldwide, currently in Sri Lanka.
    Posts
    4,785
    Thanks
    7,269
    Thanked 18,422 Times in 3,764 Posts

    Quote Originally Posted by NewdestinyX View Post
    LOL!! Yeah.. I guess not....

    The Extra Location data has its own switch in the tweak.. That's what leads me to believe they're handled as separate subroutines and potentially separate update timings. In the WW widgets I'm using the XML is definitely getting the main data and Extra Location data at different times. I just want to know if it's by design or a bug. That's all.
    It's just some switches M8, same sort of thing you could have in the Config.js file, everything updates at the same time.

    Code:
    // MAIN INFORMATIONS
    		var cityname = obj.city;
    		switch (UseExtraLocation) {
    			case "city":
    			if ((obj.extraLocCity != null) && (obj.extraLocCity != "")) { cityname = obj.extraLocCity; }
    			break;
    			case "neighborhood":
    			if ((obj.extraLocNeighborhood != null) && (obj.extraLocNeighborhood != "")) { cityname = obj.extraLocNeighborhood; }
    			else if ((obj.extraLocCounty != null) && (obj.extraLocCounty != "")) { cityname = obj.extraLocCounty; }
    			break;
    		}

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

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

    Alfroggy (08-28-2013), King_O_Hill (08-28-2013), lostinthemes (08-28-2013), RKO1195 (08-28-2013)

  27. #914
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    8,835
    Thanks
    39,029
    Thanked 16,351 Times in 5,989 Posts

    Quote Originally Posted by NewdestinyX View Post
    LOL!! Yeah.. I guess not....

    Well - I'm a detail guy and a well-asked technical question, in my work over the years, I've learned, is about giving sufficient background info. But my original question wasn't worded too round-about..

    The Extra Location data has its own switch in the tweak.. That's what leads me to believe they're handled as separate subroutines and potentially separate update timings. In the WW widgets I'm using the XML is definitely getting the main data and Extra Location data at different times. I just want to know if it's by design or a bug. That's all.
    Actually, based on the way that the info is gathered, I believe that it is possible for this to happen. But I would like to see if Durben feels the same way on this.

    Oh, by the way, I am the King! Period!
    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!

  28. The Following 4 Users Say Thank You to King_O_Hill For This Useful Post:

    Alfroggy (08-28-2013), Jato_BZ (08-28-2013), RKO1195 (08-28-2013), The_Durben (08-28-2013)

  29. #915
    The Big D NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,393
    Thanks
    3,666
    Thanked 8,456 Times in 4,293 Posts

    Quote Originally Posted by Ian Nicoll View Post
    It's just some switches M8, same sort of thing you could have in the Config.js file, everything updates at the same time.
    No, Ian.. I'm not talking about the timing of widgets getting info from the XML.. I'm talking about the timing of the tweak writing to the XML certain data.
    Quote Originally Posted by King_O_Hill View Post
    Actually, based on the way that the info is gathered, I believe that it is possible for this to happen. But I would like to see if Durben feels the same way on this.
    Thanks for checking into it, bro..
    Oh, by the way, I am the King! Period!
    Was there ever any doubt?
    Last edited by NewdestinyX; 08-28-2013 at 07:29 AM.
    Here to help if I can. If I can't I know someone who can!

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

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

  31. #916
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in Philippines, German company, work worldwide, currently in Sri Lanka.
    Posts
    4,785
    Thanks
    7,269
    Thanked 18,422 Times in 3,764 Posts

    Quote Originally Posted by King_O_Hill View Post

    Oh, by the way, I am the King! Period!
    Na na na.. you must be king os something LOL.. The world? LOL..

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

  32. The Following 3 Users Say Thank You to Ian Nicoll For This Useful Post:

    King_O_Hill (08-28-2013), lostinthemes (08-28-2013), The_Durben (08-28-2013)

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

    Quote Originally Posted by King_O_Hill View Post
    Actually, based on the way that the info is gathered, I believe that it is possible for this to happen. But I would like to see if Durben feels the same way on this.

    Oh, by the way, I am the King! Period!
    When on Constant or Semi and Neighborhood Location is toggled on I have not seen a delay on additional location info. (Besides a few seconds delay for an iWidget on springboard compared to a lock screen) (locks check again on unlock/lock, iWidget sticks with the 20 second interval checking the xml)

    The only time I've seen a delay in the extra location info changing is when Fixed is selected.
    The locks or widgets using main name/city change right away to your set woeid and weather info for it.
    The extra location information doesn't change until the next refresh of the xml. (Something to do with the tweak sending that woeid back to get additional location info for that woeid and then updating it)
    On fixed this shouldn't be an issue as your telling the widgets what city you want to see and you get that city.


    Sorry if I didn't get what was being asked, it's early and I'm confused

  34. The Following 5 Users Say Thank You to The_Durben For This Useful Post:

    Dexy88 (08-28-2013), King_O_Hill (08-28-2013), lostinthemes (08-28-2013), RKO1195 (08-28-2013), TEK_2012 (08-28-2013)

  35. #918
    The Big D NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,393
    Thanks
    3,666
    Thanked 8,456 Times in 4,293 Posts

    Default Auto-Detect Large City Neighborhood names
    For those of you, in the US, who would like to add another choice in Dacal/Ian's 'UseExtraLocation' variable in the config.js of any mod - where Dacal's code is used. I adapted the 'auto-detection' of the neighborhood of a large city from my City/AltLoc iWidget to be used in UniAW based widgets in place of the main city name whenever you enter a large city.

    So if you're traveling in the suburbs - the tweak very accurately reports city/town names to the XML. But then when you enter a large city - with the UseExtraLocation variable set to "default" - you'll just keep getting" New York City, Philadelphia, Los Angeles, Miami, etc. - no matter where you drive in the city. It's in large cities where the "neighborhood' field in the XML comes in handy. And wouldn't it be nice if the city name in your widgets could 'auto-detect' that.. Well it can. With this code.

    Find this in UniAW6.js or the main.js of any Dacal/Ian based widget.

    Code:
    // MAIN INFORMATIONS
    var cityname = obj.city;
    switch (UseExtraLocation) {
    case "city":
    if ((obj.extraLocCity != null) && (obj.extraLocCity != "")) { cityname = obj.extraLocCity; }
    break;
    case "neighborhood":
    if ((obj.extraLocNeighborhood != null) && (obj.extraLocNeighborhood != "")) { cityname = obj.extraLocNeighborhood; }
    else if ((obj.extraLocCounty != null) && (obj.extraLocCounty != "")) { cityname = obj.extraLocCounty; }
    break;
    Now simply add these lines of code after the final "break; " above:
    Code:
    case "auto":
    if ((obj.extraLocNeighboorhood != "") && (obj.extraLocNeighborhood != obj.city)) { cityname = obj.extraLocNeighborhood; }
    else  { cityname = obj.city; }
    break;
    Then in the config.js of the same widget, where you can choose "default", "city" or "neighborhood" - just use the variable "auto". And then the autodetection should happen for you.

    Now I'm pretty sure I nailed that code.. If I haven't - King or Durben or Ian or Dacal will scream "NOW WAIT, GRANT! SIMMER DOWN - DON'T HURT YOURSELF"... LOL!!!!

    It's worked for me on the computer.. Will check on phone now too..

    So setting the config.js to "auto" would have you get 'White Plains' if you're driving through suburban New York State.. But if you were in New York City - your city would auto detect the section of the city, like: Financial District, Queens, Bronx, etc..

    Have fun... I know I am - starting to get a handle on some basic java coding..

    EDITED:
    Okay - works on phone too. The only thing left for me to conquer is for the case when the 'extraLocNeighbordhood' line in the XML returns a N U L L. I'm having troublew ith an IF ELSE statement searching for N U L L. But I'll get it..
    Last edited by NewdestinyX; 08-28-2013 at 03:02 PM.
    Here to help if I can. If I can't I know someone who can!

  36. The Following 5 Users Say Thank You to NewdestinyX For This Useful Post:

    Alfroggy (08-28-2013), ferlop15 (08-28-2013), Ian Nicoll (08-28-2013), King_O_Hill (08-28-2013), Noobiusmaximus (08-28-2013)

  37. #919
    The Formulator Marty McFly's Avatar
    Join Date
    Mar 2013
    Location
    Barrie
    Posts
    1,310
    Thanks
    4,046
    Thanked 4,565 Times in 1,020 Posts

    Hi all,

    Link updated again (sorry for all the posts):
    "WidgetWeather UniAW6.4 McFly LS.theme"

    - Heat index code fixed
    - Now 'County' information will appear any time 'Neighborhood' is blank - saw that today on the road, very cool!

    Download link: WidgetWeather UniAW6.4 McFly.theme.zip
    Previous posted links should be updated as well
    Enjoy!

  38. The Following 11 Users Say Thank You to Marty McFly For This Useful Post:

    Alfroggy (08-28-2013), Dexy88 (08-28-2013), Ian Nicoll (08-28-2013), IrobertI (08-31-2013), King_O_Hill (08-28-2013), mcooper (08-28-2013), NewdestinyX (08-28-2013), nik1975 (08-28-2013), Noobiusmaximus (08-28-2013), RKO1195 (08-28-2013), The_Durben (08-28-2013)

  39. #920
    widget modder RKO1195's Avatar
    Join Date
    Aug 2010
    Location
    Alabama
    Posts
    2,213
    Thanks
    9,815
    Thanked 5,008 Times in 1,711 Posts

    Thanks Marty I'll look at that Grant that don't work for me bud its blank, like I said neighborhood has always been County for me.
    WidgetWeather ​Thread

  40. The Following 4 Users Say Thank You to RKO1195 For This Useful Post:

    King_O_Hill (08-28-2013), Marty McFly (08-28-2013), TEK_2012 (08-28-2013), The_Durben (08-28-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