Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: GPS Based HTML Lockscreen Weather Theme
is a discussion within theiPhone 4|4S New Skins / Themes Launches
forums, a part of theNew Skins / Themes Launches
section;Originally Posted by NewdestinyX Thanks, KOH.. I was thinking that it could be written 'coordinate specific' - so only certain areas you touched would activate it. Or its appearance could
...-
08-14-2012, 05:11 PM #2221The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,439
- Thanks
- 29,623
- Thanked 34,512 Times in 6,567 Posts
-
The Following 3 Users Say Thank You to The_Durben For This Useful Post:
Hip5 (10-12-2012), lostinthemes (08-19-2012), metaserph (08-14-2012)
-
08-14-2012, 05:28 PM #2222Not always right, but always confident
- Join Date
- Jan 2012
- Posts
- 3,880
- Thanks
- 1,243
- Thanked 2,897 Times in 1,440 Posts
Great, Durben!! I knew I'd seen this in action already at some point on a SB. 2 questions. What's this one called and where can I find it? Then in my budding skill as a modder let me ask if it would be technically possible to use a transparent image for where you now have the main weather info. So that when I tapped on it all that would appear on the screen is the forecast? I realize I would need to remember where I placed the iWidget to be able to trigger the forecast - and that placement of the iWidget would need to be not where icons are or I would never be able to access those icons.
Possible?Here to help if I can.
If I can't - I know someone who can.
-
08-14-2012, 06:07 PM #2223The BatGirl
- Join Date
- Mar 2012
- Location
- @TheMamaJaay
- Posts
- 3,147
- Thanks
- 2,148
- Thanked 8,545 Times in 2,359 Posts
-
08-14-2012, 07:20 PM #2224The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,439
- Thanks
- 29,623
- Thanked 34,512 Times in 6,567 Posts
Anything is possible. Just need to be rewritten to only use a forecast instead of hiding all the other info. That way its not running using up any resources in the background. And you haven't seen this widget yet because I haven't posted it prior.
Basically you can assume that almost every SB widget you see around I have as an iWidget. If I like it.
Think I have about 30 something in my folder or so. Almost all of Max's, and a few of Chevys and Schnedis and Zoos. Rest are all pretty much mine. I dont use winterboard SB widgets at all and only rarely use an iWidget.
If I have a weather Lockscreen running I don't use a weather widget on SB. I don't see the need regardless of how good it looks. I'm very simple for the most part.
PerPageHTML+ not PerPageHTML as that doesn't allow for interactive widgets
Last edited by The_Durben; 08-14-2012 at 07:26 PM.

-
-
08-14-2012, 09:41 PM #2225

I am using the CMC_ULTIMATE_LS_FULLMios and have a question mark on the background layer.
I check the LockBackground.html and is it the UserBackground image? That is 1024x768 transparent
image (Layer.png) and there is a 640x960 silver grey (Layer(Alt).png).
Can you help me fix this.
iPhone 4 iOS 5.1.1 and m17x-R2
-
08-14-2012, 10:40 PM #2226
the cydia repo isnt working anymore? Does anyone know whats going on with it?
Ok I updated the to the new repo source. But now the app crashes. Im on 5.1.1. Can some one explain how to get it working again plz.Last edited by x_IMMORTAL_x; 08-14-2012 at 10:58 PM.
-
08-14-2012, 11:25 PM #2227
-
08-15-2012, 02:56 AM #2228
Getting weather info from Yahoo Weather is convenient, the code is there already, so it can be reused again and again.
Other weather sites might require an "paid for" API key, but Yahoo Weather is free.
Then there is the problem that not all weather sites offer response files (xml or json format).
However this is really no problem, but it involves an new and unconventional* method, which always is treated as suspicious, hence no interest for this.
Pages back in this thread I explained that it is possible to get weather data from ANY weather site, regardless if they offer response files or not.
All I have to do now is browse the web on my PC to find a suitable weather site, do some coding (shell script) and "Bob is your uncle".
Currently I have some weather data from Yahoo Weather, hourly forecast from weather.com and 5 day forecast from WorldWeatherOnline, location data is from Google, again Yahoo sucks sooooo much when it comes to location names especially for smaller villages, more info.
* see here why unconventional.
Yes you can with the quickflip jquery javascript. It allows to make only a defined area of the screen touch active.
Last edited by rasputin007; 08-15-2012 at 03:11 AM.
-
The Following 2 Users Say Thank You to rasputin007 For This Useful Post:
RKO1195 (08-22-2012), The_Durben (08-15-2012)
-
08-15-2012, 04:29 AM #2229King Kong ain't got nothing on me!
- Join Date
- Apr 2011
- Location
- USA
- Posts
- 4,994
- Thanks
- 24,389
- Thanked 7,991 Times in 3,124 Posts
MyLocation App update for 5.1.1 - 6.1.2 from bushe! Incase you are having problems, this app is working fine. You may need an updated location.js file. If it has been updated, and still not updating go to settings/general/reset and reset all settings, this will not affect your JB!
Download these Instructions - Instructions!
To install the MyLocation app, just add my repo and install it! - http://cydia.myrepospace.com/kohidevice/
-
08-15-2012, 05:16 AM #2230
No does not work in PerPage+ widgets, they do not have touch enables, only on Winterboard lockscreens.
-
08-15-2012, 06:05 AM #2231The BatGirl
- Join Date
- Mar 2012
- Location
- @TheMamaJaay
- Posts
- 3,147
- Thanks
- 2,148
- Thanked 8,545 Times in 2,359 Posts
-
08-15-2012, 07:35 AM #2232Not always right, but always confident
- Join Date
- Jan 2012
- Posts
- 3,880
- Thanks
- 1,243
- Thanked 2,897 Times in 1,440 Posts
Yep. You're a lot like me, Durben in the way I think about wanting to layout my phone. I too now have almost 15 SB widgets converted to PPHTML+ so I can not be locked into the wallpapers artists choose. And I can mix and match. And that's why I'll also be converting to iWidget also (as soon as I get PS) so I can place them anywhere on SB.
Hey does iWidget allow specific page placement like PPHTML? iWidget knows the difference between Spotlight, Page 1,2, etc?
Eric released a 'tap for forecast' widget a while ago. I'm going to study that code and see if I can convert it to a 'tap forecast iWidget'.
You guys inspire me.. :-)Last edited by NewdestinyX; 08-15-2012 at 07:37 AM.
Here to help if I can.
If I can't - I know someone who can.
-
The Following User Says Thank You to NewdestinyX For This Useful Post:
The_Durben (08-15-2012)
-
08-15-2012, 09:47 AM #2233The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,439
- Thanks
- 29,623
- Thanked 34,512 Times in 6,567 Posts
Yeah perpage+ works, perpage itself does not.
You need to add a widget.plist to the perpage+ theme defining the area of the widget.
Doing this effectively brings the widget above the icons which enables touch.
I worked with Wynd when he was making it. We tried as well to allow for icons to be on top and be able to touch activate a function between icons in the spaces but couldn't get that to run at all.
iWidgets can be placed anywhere and moved from page to page. Except spotlight and the dock area.
The tap forecast Eric is using is either from one of my widgets, Chevy's, or Dacals. Dacal created a touch event instead of using the quickflip js as it ran much smoother. The static weather widgets I use that have the touch forecast is from a script Dacal rewrote for me so I didn't have to use the quickflip anymore as I asked to convert it when I ran his animated lock with the forecast. It was a lot better response wise.Last edited by The_Durben; 08-15-2012 at 09:54 AM.

-
The Following 3 Users Say Thank You to The_Durben For This Useful Post:
metaserph (08-15-2012), NewdestinyX (08-15-2012), RKO1195 (08-22-2012)
-
08-15-2012, 09:58 AM #2234Not always right, but always confident
- Join Date
- Jan 2012
- Posts
- 3,880
- Thanks
- 1,243
- Thanked 2,897 Times in 1,440 Posts
-
08-15-2012, 10:11 AM #2235The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,439
- Thanks
- 29,623
- Thanked 34,512 Times in 6,567 Posts
iWidgets can be placed on any page and moved anywhere including to another page.
They cannot go in spotlight or on the dock.
Eric's widget is either based off mine, Chevys, or Dacals. In either case it was written by Dacal.
I told him I was using the quickflip js to rotate widgets as well as using onclick functions for Slideshow widgets.
He did not like the performance of those so he created an event listener which runs much smoother.
You can have a hidden widget that shows anything defined when touched but it must be placed on a blank spot on the SB or it's on top of your icons. Transparent or not, you would not be able to use any icons it was on top of.
-
The Following User Says Thank You to The_Durben For This Useful Post:
NewdestinyX (08-15-2012)
-
08-15-2012, 10:13 AM #2236Not always right, but always confident
- Join Date
- Jan 2012
- Posts
- 3,880
- Thanks
- 1,243
- Thanked 2,897 Times in 1,440 Posts
Last edited by NewdestinyX; 08-15-2012 at 10:16 AM.
-
08-15-2012, 10:15 AM #2237The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,439
- Thanks
- 29,623
- Thanked 34,512 Times in 6,567 Posts
Yes you need to define the area that you can touch. It can be smaller than the actual widget however the area of the widget must be fully defined by the plist. Either way, if it's on top of any icons it will not allow you to touch the icons. Whether the touch function area is a smaller than the widget or not, it's all still on top when defined with a plist.
It does not apply to SB widgets used in winterboard.
Winterboard themes on SB always run below the icon layer and cannot utilize a touch function.Last edited by The_Durben; 08-15-2012 at 10:18 AM.

-
08-15-2012, 10:20 AM #2238Not always right, but always confident
- Join Date
- Jan 2012
- Posts
- 3,880
- Thanks
- 1,243
- Thanked 2,897 Times in 1,440 Posts
Okay - but to clarify a bit. I could have the widget itself (the part that appears, like a banner) appear OVER icons and not mess with my touching of icons-- IF I only specify the touch area as smaller? Or is the area you have to specify in the .plist, the area for the WHOLE widget (banner in my case) including the touch area (banner forecast + touch area)?
Ah - okay - got it.. I'm moving away from SB widgets all together. I'm starting to think of SB's as places for TIMED WALLS - thanks to the work you and MJ and Bombmom did for MJSmash. Schendi's working toward this too. And I will soon offer a set of Autumn timed walls to MJ for her approval for MJSmash. I think the future of modding, and you're already moving this way in your thinking I can tell - is to think of the SpringBoard in TWO LAYERS -- a static or set of walls -- and widgets you can add and place differently based on the 'background' you like. iWidget is a brilliant invention for this. PerPageHTML, that BlueMetal's themes all employ liberally can't really function without this idea of TWO LAYER SpringBoards. I'm too confined by the backgrounds chosen by the artists under their weather widgets. Though I realize that part of the 'look' of a modder's work IS the background. But I want widgets to be independent elements from the background. I don't think I'm alone there. :-) Widgets on top of backgrounds is a perfect paradigm for LockScreens - not SpringBoards (with multiple pages) in my humble opinion.It does not apply to SB widgets used in winterboard.
Winterboard themes on SB always run below the icon layer and cannot utilize a touch function.Last edited by NewdestinyX; 08-15-2012 at 10:30 AM.
-
08-15-2012, 10:21 AM #2239
-
The Following User Says Thank You to rasputin007 For This Useful Post:
The_Durben (08-15-2012)
-
08-15-2012, 02:24 PM #2240The BatGirl
- Join Date
- Mar 2012
- Location
- @TheMamaJaay
- Posts
- 3,147
- Thanks
- 2,148
- Thanked 8,545 Times in 2,359 Posts
-
The Following User Says Thank You to MamaJaay For This Useful Post:
rasputin007 (08-16-2012)
LinkBacks (?)
-
Curry's little Repo
Refback This thread04-12-2013, 02:27 PM -
overview for bushe
Refback This thread03-15-2013, 10:09 AM -
08-11-2012, 12:06 AM
-
Elite Pro HD - Seite 40
Refback This thread03-03-2012, 12:38 PM




LinkBack URL
About LinkBacks

Reply With Quote


