Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: UniAW6.0 for iph4 & iph5
05-23-2013, 02:11 PM #5301
how are u guys all getting extended forecast again now?? I just need 1-2 additional day forecast max
05-23-2013, 02:18 PM #5302
05-23-2013, 02:20 PM #5303
You also would not need a refresh then either as it updates every time you lock the home screen.
Just a thought.
I meant NO refresh function, well, apart from the time of course.
Last edited by rasputin007; 05-23-2013 at 03:55 PM. Reason: Spelling mistakeNothing is impossible only miracles take a bit longer!
The Following 10 Users Say Thank You to rasputin007 For This Useful Post:
05-23-2013, 02:24 PM #5304
TaJr12.... I PM'd you
05-23-2013, 02:38 PM #5305
The Following 18 Users Say Thank You to Simon For This Useful Post:
<Ian Nicoll/> (05-23-2013), azaleea (05-26-2013), Best01 (05-23-2013), burrzoo (05-24-2013), Hip5 (05-23-2013), Kazuyoshi (05-23-2013), KraXik (05-23-2013), lostinthemes (05-24-2013), menard_00 (05-23-2013), mfisherbsu (05-23-2013), Platini2000 (05-23-2013), pnunez1310 (05-23-2013), RandyTG (05-23-2013), RKO1195 (05-23-2013), sethbossfan (05-23-2013), Steph53940 (05-23-2013), The.Drifter (05-23-2013), The_Durben (05-23-2013)
05-23-2013, 03:06 PM #5306
Would need some sort if tweak to refresh weather app in the background and then the plist will update.
Apple likely has done this to conserve usage on the phone. Why update info in the BG when you'll only see it when you open NC or weather app. Then they call the update to check.
05-23-2013, 03:06 PM #5307
Amazing Simon looks good
05-23-2013, 03:10 PM #5308
Good go Simon.
In photoshop you can render it for full screen.
I have it ready in 6.2
It works. .
05-23-2013, 03:15 PM #5309
I've replaced the code with the one you posted a little further down from this post. Just to understand.....my code was taking the current temperature, converting it to F for the heat index calculation which is all fine and good but I wasn't converting it back in the end right?
I've been testing this on the "c" setting. So if the above statement is correct, my question is why was I still seeing the current temperature in C, if my code was converting it to F and not converting it back?
Everything seems to be working great with your revised code so thank you sir! Although it suddenly became colder where I live and the therefore the 'windchill' value kicked in again. Current temp = 7c, feels like = 3c.....brrrrrrr.
I'll take 9/10 for sure. I think that's a pretty good score for a first attempt at something like this.
Now to look into the "humidex" calculation. Different from "heat index". Have to decide which one to use
05-23-2013, 03:24 PM #5310
A little stretched but not a bad effect for window types of overlays.
Again, this is just an example. I only added it for the rain condition and iPhone 5. And on demo mode again. May do a whole setup with this added if I get the time tonight. Going to see new Star Trek movie first though
If only I could get a sideways rain on glass stream gif that would look pretty good with the plane window
05-23-2013, 03:41 PM #5311
The Following User Says Thank You to KraXik For This Useful Post:
05-23-2013, 03:42 PM #5312
Here we have a four day forecast coming from the native weather app:
I also added the city and timestamp to the forecast. These variables are also coming from the native weather app not Yahoo. I thought adding these things might help troubleshoot the updating issue. If I could figure out how to interpret the timestamp properly, I could write a script to have it display in a more user friendly way
Other then the updating, I am having one issue. When you install LibWeather, it acts similar to the myLocation app in that in writes data to a file. In this case, it takes the data from the native iphone weather app and writes it to the file "com.ashman.LibWeather.cache.plist" which is stored in var/mobile/library/caches (after you install the LibWeather tweak of course ). The LS then calls the information from this file to be displayed.
Now, what I'm finding is that I am able to call the informtion from the file (com.ashman.LibWeather.cache.plist) to the LS without any problems. However the information LibWeather is passing to the file is not the EXACT same that I see on the screen in the native weather app. Some of the numbers are off by one Take a look:
...I would say I coded something wrong but those are the correct values being stored in the file. They are being stored from the native weather app into the file incorrectly. Has this always been the case? Does anyone know?
Thanks.....more to come!
EDIT: Just thinking about it a little more.....maybe this IS the updating issue. LibWeather not updating the file properly or often enough??
Last edited by Marty McFly; 05-23-2013 at 03:47 PM.
The Following 13 Users Say Thank You to Marty McFly For This Useful Post:
<Ian Nicoll/> (05-23-2013), burrzoo (05-24-2013), Dexy88 (05-25-2013), Hip5 (05-23-2013), King_O_Hill (05-23-2013), lostinthemes (05-24-2013), mfisherbsu (05-23-2013), mwhartman (05-28-2013), nik1975 (05-23-2013), siemprelisto (05-23-2013), Simon (05-23-2013), theDEVIN (05-23-2013), The_Durben (05-23-2013)
05-23-2013, 03:47 PM #5313
Tutorial - Upsize a 5/5S widget to 6 or 6+
Tutorial - Simple conversion for WW widget to work with Groovylock+/Groovyboard+
Tutorial - Add a SWITCH in Config,js to work with GroovyLock+ or all other players
Add GL+ switch code to UniAW7 & mods
05-23-2013, 03:59 PM #5314
The Following User Says Thank You to nik1975 For This Useful Post:
Marty McFly (05-23-2013)
05-23-2013, 04:01 PM #5315
I followed the instruction you Pm'd me about combining the two themes, but the new clock is about an inch too low on the screen.
Thanks in advance.
05-23-2013, 04:17 PM #5316
Weather app and NC don't update until you open them.
If you don't open them libweather plist info is still reporting the last time the file updated as its still the "current" info on the phone. The libweather plist only takes the info as its provided.
In order for it to update you need something that will update the weather app info.
The plist itself is doing what it's supposed to which is update when it detects new information.
About the forecast temp, seems likes always off a degree or two in the forecast. But only for hi info.
Still not sure why and I've worked on this a lot.
05-23-2013, 04:22 PM #5317
So what is the fix for all the iwidgets? Do I just use the accuweather code? Or is it all more complicated. Sorry. I know I'm late with this but none of my weather widgets are working.
05-23-2013, 04:22 PM #5318
I know it does not solve the libweather update issue, but that was not my objective.
I also just thought that it also might work if the script link to config.js goes into the body tag. Which would mean that changes to the config.js will be seen when locking out, rather then having to respring each time you change something in the config.js.
It's all theory, have not tried it myself, but know that it worked for me last year when I was calling a php file on the iPhone web server, which updated the GPS coordinates in the myLocation.txt file. Each time I locked the home screen the GPS coordinates were updated because the script call was in the body tags.Nothing is impossible only miracles take a bit longer!
05-23-2013, 04:24 PM #5319
05-23-2013, 04:31 PM #5320
Thanks again Durben!
Last edited by Marty McFly; 05-23-2013 at 04:33 PM.