+ Reply
Page 40 of 136 FirstFirst ... 303839404142 50 90 ... LastLast
Results 781 to 800 of 2706

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


Thread: GPS Based HTML Lockscreen Weather Theme

is a discussion within the

iPhone 4|4S New Skins / Themes Launches

forums, a part of the

New Skins / Themes Launches

section;
Originally Posted by kyle_ LS OceanBlue GPS /* you can change clock to 12h and date language in: Setup-> Config. js Download: LS OceanBlue GPS Thanks, it looks good and
...
  1. #781
    iPhone? More like MyPhone
    Join Date
    Feb 2012
    Posts
    280
    Thanks
    986
    Thanked 255 Times in 148 Posts

    Quote Originally Posted by kyle_ View Post
    LS OceanBlue GPS




    /* you can change clock to 12h and date language in: Setup-> Config.js

    Download: LS OceanBlue GPS
    Thanks, it looks good and is working just fine.

  2. #782
    desconocido
    Join Date
    Sep 2008
    Posts
    2,860
    Thanks
    2,864
    Thanked 24,889 Times in 2,436 Posts

    @rasputin

    i modded your GPS forecast. i'm thinking in made any modd. could i share it when it's done?


  3. The Following 12 Users Say Thank You to Schnedi For This Useful Post:

    elilab (03-13-2012), Ian Nicoll (03-13-2012), jima6636 (03-15-2012), jotka (03-14-2012), KraXik (03-15-2012), lostinthemes (03-17-2012), metaserph (03-13-2012), phil73 (03-13-2012), rasputin007 (03-14-2012), stratnik (03-14-2012), The_Durben (03-13-2012), zocker48 (03-14-2012)

  4. #783
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,052
    Thanks
    40,176
    Thanked 16,844 Times in 6,155 Posts

    Quote Originally Posted by rasputin007 View Post
    Sorry, it seems I have added some confusion, as there seem to be 2 "Unknown", one is the location name and the other one is the current weather condition.
    In some of the posts it does clearly says which one of the two is the "Unknown".
    Regarding the "Unknown" location name (theoretically as this did not had happen to me yet) I explained my idea on page 38 .
    Now to the weather condition "Unknown", that had happened to my AWL theme as I picked 24 locations for that and a couple of them displayed "Undefined" as the current weather condition.(code=3200)

    OK, here my suggestion about how to kind of fix this.
    The UpdateLocation function checks the latitude and the longitude, if they are the same as previously no weather update, but if they are different then
    if (prevlatitude != latitude || prevlongitude != longitude) {
    var url = "http://where.yahooapis.com/geocode?location=" + latitude + "+" + longitude + "&gflags=R&flags=J"
    weather gets updated and the "new" latitude and longitude become now the prelatitude and prelongitude at the end of that function
    prevlatitude = latitude;
    prevlongitude = longitude;

    if you just add 2 more lines like before like these 2 lines
    var oldlatitude = prevlatitude;
    var oldlongitude = prevlongitude; followed by
    prevlatitude = latitude;
    prevlongitude = longitude;
    you basically backup the previous latitude and longitude before they get overwritten with the current latitude and longitude.
    Now in case that the weather condition for the "new" location says "Unknown" then use the backup latitude and longitude.
    like ( I am using the old style coding here as that is what I am using)
    obj.icon = conditionTag.getAttribute("code");
    ojb.code would have the value of 3200 with "Unknown" weather condition so then do
    if(obj.code==3200){
    then url = "http://where.yahooapis.com/geocode?location=" + oldlatitude + "+" + oldlongitude + "&gflags=R&flags=J"
    getJSON(url, function data)} or something like this.
    So basically as soon as the script finds a 3200 code value it goes back to the prevoius, now the saved old latitude and longitude and fetches the weather for that location. This of course backfires if you move from one "Unknown" weather condition area straight into another "Unknown" weather condition area as then the backup latitude and logitude would be from the first "Unknown" area. But what are the chances of that happening, and by using the "old" latitude and longitude the actual weather should not change that much anyway unless you moved supersonic.
    But as soon as you move into a area where there is a weather condition that will be displayed as the
    if (obj.code==3200) switch does not get activated.
    That' just my 2 cents worth.
    Yes, that's exactly what I was suggesting earlier! Ras you nailed it!

    You could even go a step further and check for a "double" unknown and then have it default to something like "home" coords.

    Ok, maybe that is too far outside the box.

    Great work rasputin!

  5. #784
    My iPhone is a Part of Me
    Join Date
    Aug 2009
    Posts
    666
    Thanks
    325
    Thanked 2,140 Times in 490 Posts

    Quote Originally Posted by schnedi View Post
    @rasputin

    i modded your GPS forecast. i'm thinking in made any modd. could i share it when it's done?

    Please do so, looks much nice then the original.

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

    jotka (03-14-2012), KraXik (03-15-2012), ruedi04 (03-15-2012), Schnedi (03-14-2012), stratnik (03-14-2012), The_Durben (03-14-2012)

  7. #785
    Green Apple
    Join Date
    Jun 2010
    Location
    Germany
    Posts
    79
    Thanks
    32
    Thanked 24 Times in 17 Posts

    Quote Originally Posted by schnedi View Post
    @rasputin

    i modded your GPS forecast. i'm thinking in made any modd. could i share it when it's done?

    Was also my idea to get the forecast in a row. But i didnt start to work on this. Now i will sit and wait till schnedi will share his version cause it already looks perfect to me So hurry up please

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

    The_Durben (03-15-2012)

  9. #786
    iPhone? More like MyPhone
    Join Date
    Aug 2009
    Posts
    144
    Thanks
    16
    Thanked 20 Times in 19 Posts

    Quote Originally Posted by rasputin007 View Post
    Sorry, it seems I have added some confusion, as there seem to be 2 "Unknown", one is the location name and the other one is the current weather condition.
    In some of the posts it does clearly says which one of the two is the "Unknown".
    Regarding the "Unknown" location name (theoretically as this did not had happen to me yet) I explained my idea on page 38 .
    Now to the weather condition "Unknown", that had happened to my AWL theme as I picked 24 locations for that and a couple of them displayed "Undefined" as the current weather condition.(code=3200)

    However they still gave the temperature etc and even the forecast

    OK, here my suggestion about how to kind of fix this.
    The UpdateLocation function checks the latitude and the longitude, if they are the same as previously no weather update, but if they are different then
    if (prevlatitude != latitude || prevlongitude != longitude) {
    var url = "http://where.yahooapis.com/geocode?location=" + latitude + "+" + longitude + "&gflags=R&flags=J"
    weather gets updated and the "new" latitude and longitude become now the prelatitude and prelongitude at the end of that function
    prevlatitude = latitude;
    prevlongitude = longitude;

    if you just add 2 more lines like before like these 2 lines
    var oldlatitude = prevlatitude;
    var oldlongitude = prevlongitude; followed by
    prevlatitude = latitude;
    prevlongitude = longitude;
    you basically backup the previous latitude and longitude before they get overwritten with the current latitude and longitude.
    Now in case that the weather condition for the "new" location says "Unknown" then use the backup latitude and longitude.
    like ( I am using the old style coding here as that is what I am using)
    obj.icon = conditionTag.getAttribute("code");
    ojb.code would have the value of 3200 with "Unknown" weather condition so then do
    if(obj.code==3200){
    then url = "http://where.yahooapis.com/geocode?location=" + oldlatitude + "+" + oldlongitude + "&gflags=R&flags=J"
    getJSON(url, function data)} or something like this.
    So basically as soon as the script finds a 3200 code value it goes back to the prevoius, now the saved old latitude and longitude and fetches the weather for that location. This of course backfires if you move from one "Unknown" weather condition area straight into another "Unknown" weather condition area as then the backup latitude and logitude would be from the first "Unknown" area. But what are the chances of that happening, and by using the "old" latitude and longitude the actual weather should not change that much anyway unless you moved supersonic.
    But as soon as you move into a area where there is a weather condition that will be displayed as the
    if (obj.code==3200) switch does not get activated.
    That' just my 2 cents worth.


    Hello,

    Thank you @rasputin
    Anyone test it? Anybody to provide modified file?

    Nicos

  10. #787
    iPhoneaholic
    Join Date
    Jul 2010
    Posts
    437
    Thanks
    172
    Thanked 296 Times in 152 Posts

    Quote Originally Posted by jotka View Post
    Was also my idea to get the forecast in a row. But i didnt start to work on this. Now i will sit and wait till schnedi will share his version cause it already looks perfect to me So hurry up please
    I agree. This looks great. I would love to incorporate the code for the 4 day forecast into Ian's UNiAW GPS lockscreen I am currently using. Too bad my coding skills are a bit lacking.

  11. #788
    Livin the iPhone Life KraXik's Avatar
    Join Date
    Mar 2011
    Location
    Winchester, UK
    Posts
    2,623
    Thanks
    2,670
    Thanked 1,754 Times in 891 Posts

    Quote Originally Posted by schnedi View Post
    @rasputin

    i modded your GPS forecast. i'm thinking in made any modd. could i share it when
    Have you posted this anywhere Schnedi?

  12. #789
    MMI icon and stuff collector elilab's Avatar
    Join Date
    Sep 2010
    Location
    Germany
    Posts
    1,012
    Thanks
    31,101
    Thanked 6,699 Times in 903 Posts

    Quote Originally Posted by KraXik View Post
    Have you posted this anywhere Schnedi?
    you can find the ls here...

    http://modmyi.com/forums/iphone-4-ne...ml#post6448842


    elilab
    iNZTW3 - Legacy - 2UINique - "new" z|ui - Rebirth HD - ElitePro HD 2012 by iPhone ie - MiOS - elite6 - eli7e
    Icons, Wallpaper and more : http://s1238.photobucket.com/user/elilab/library/

    eli7e Icons, Wallpaper and more RaR-Packs : https://www.mediafire.com/folder/qwcnwfdg84poo/eli7e

  13. The Following 4 Users Say Thank You to elilab For This Useful Post:

    Ian Nicoll (03-15-2012), KraXik (03-15-2012), stratnik (03-15-2012), The_Durben (03-15-2012)

  14. #790
    ".plist master" Them3this's Avatar
    Join Date
    Mar 2011
    Location
    Pittsburgh
    Posts
    2,058
    Thanks
    638
    Thanked 2,624 Times in 1,027 Posts

    GPS forecast. Thanks to Schnedi for the beautiful styling.
    Attached Thumbnails Attached Thumbnails GPS Based HTML Lockscreen Weather Theme-imageuploadedbymodmyi1331829762.690716.jpg  

  15. The Following 2 Users Say Thank You to Them3this For This Useful Post:

    KraXik (03-15-2012), WaGGuM (03-15-2012)

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

    Quote Originally Posted by Them3this View Post
    GPS forecast. Thanks to Schnedi for the beautiful styling.
    Looks good. I would think it would look better with realistic weather icons instead of the blue if you have BG images like the main showing. The blue icons might look good with space images in the BG though.

    Just throwing ideas out for you dude, but really it's about personal preference.

  17. #792
    wanna-be Themer/Modder jima6636's Avatar
    Join Date
    Dec 2008
    Location
    In your Head
    Posts
    1,090
    Thanks
    1,491
    Thanked 4,194 Times in 831 Posts

    liking whats going on in here great job



  18. The Following User Says Thank You to jima6636 For This Useful Post:

    The_Durben (03-15-2012)

  19. #793
    Green Apple
    Join Date
    Dec 2008
    Location
    Bothell, WA
    Posts
    54
    Thanks
    9
    Thanked 24 Times in 17 Posts

    Here's a little modification I did. My question is, is there a way to just show the weather text instead of images. Example, in place of the images have it say rain, sunny, cloudy, light rain etc... By the way, thanks for all the hard work guys, you are all amazing....

    Last edited by Nibrok; 03-15-2012 at 01:00 PM.

  20. The Following User Says Thank You to Nibrok For This Useful Post:

    KraXik (03-15-2012)

  21. #794
    desconocido
    Join Date
    Sep 2008
    Posts
    2,860
    Thanks
    2,864
    Thanked 24,889 Times in 2,436 Posts

    Quote Originally Posted by Nibrok View Post
    Here's a little modification I did. My question is, is there a way to just show the weather text instead of images. Example, in place of the images have it say rain, sunny, cloudy, light rain etc... By the way, thanks for all the hard work guys, you are all amazing....


    just make the weather description displays... you can do it in the HTML

  22. The Following User Says Thank You to Schnedi For This Useful Post:

    Nibrok (03-15-2012)

  23. #795
    wanna-be Themer/Modder jima6636's Avatar
    Join Date
    Dec 2008
    Location
    In your Head
    Posts
    1,090
    Thanks
    1,491
    Thanked 4,194 Times in 831 Posts

    u could do this on pc to



    Quote Originally Posted by The_Durben View Post
    Here's a fix thanks to Pathkiller and my snooping and asking him. He's a great dude. Hit him up with a thanks if you see him around or on twitter @Pathkiller

    No need to use ******* or ifunbox if you have ifile.
    Download the Widget and ipa from first post.
    In ifile, click on the MyLocation.ipa and choose zip viewer
    Then extract all files.
    In the Payload folder copy MyLocation.app to var/stash/Applications
    Reboot your phone and it's on SB

    You're all welcome
    Well those of you who don't want to install that repo I won't name..




  24. The Following User Says Thank You to jima6636 For This Useful Post:

    The_Durben (03-15-2012)

  25. #796
    Livin the iPhone Life KraXik's Avatar
    Join Date
    Mar 2011
    Location
    Winchester, UK
    Posts
    2,623
    Thanks
    2,670
    Thanked 1,754 Times in 891 Posts

    Quote Originally Posted by jima6636 View Post
    u could do this on pc to
    You don't need to do that any more. Just download the package in Cydia. Simples.

    Quote Originally Posted by Nibrok View Post
    Here's a little modification I did. My question is, is there a way to just show the weather text instead of images. Example, in place of the images have it say rain, sunny, cloudy, light rain etc... By the way, thanks for all the hard work guys, you are all amazing....
    That wallpaper is amazing!

  26. #797
    wanna-be Themer/Modder jima6636's Avatar
    Join Date
    Dec 2008
    Location
    In your Head
    Posts
    1,090
    Thanks
    1,491
    Thanked 4,194 Times in 831 Posts

    lol sorry I just got in here so I was looking thru older post and seen ppl trying to figure out how so trying to help.
    Quote Originally Posted by KraXik View Post
    You don't need to do that any more. Just download the package in Cydia. Simples.




  27. The Following User Says Thank You to jima6636 For This Useful Post:

    The_Durben (03-15-2012)

  28. #798
    Livin the iPhone Life KraXik's Avatar
    Join Date
    Mar 2011
    Location
    Winchester, UK
    Posts
    2,623
    Thanks
    2,670
    Thanked 1,754 Times in 891 Posts

    Quote Originally Posted by jima6636 View Post
    lol sorry I just got in here so I was looking thru older post and seen ppl trying to figure out how so trying to help.
    Yah it's pretty much awesome now. Even UniAW5 is souped-up now.

  29. The Following User Says Thank You to KraXik For This Useful Post:

    The_Durben (03-15-2012)

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

    Quote Originally Posted by jima6636 View Post
    lol sorry I just got in here so I was looking thru older post and seen ppl trying to figure out how so trying to help.
    Hey hey Jim
    Yeah that was early on. It was an alternative to install the app. Had to change the JS as well as originally it used an app id but you could only get that with app sync and an installer.
    Mucho progress since then
    Talented dudes all helping out from crazy's creation, my limited script changes and getting Path to correct permissions on the original deb I had the Ian, rasputin, and Dacal doing the real scripting to get the functionality we got now. This is awesome

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

    Dacal (03-15-2012), Ian Nicoll (03-15-2012), jima6636 (03-15-2012)

  32. #800
    iPhoneaholic
    Join Date
    Jul 2010
    Posts
    437
    Thanks
    172
    Thanked 296 Times in 152 Posts

    Here is Ian's UNiAW5 GPS lockscreen with 4 day forecast.

    Credit goes to Ian, Rasputen, Schnedi, and all the other modders for their work.
    Attached Thumbnails Attached Thumbnails GPS Based HTML Lockscreen Weather Theme-photo.png  

  33. The Following 3 Users Say Thank You to will822 For This Useful Post:

    Ian Nicoll (03-15-2012), lostinthemes (03-17-2012), metaserph (03-15-2012)

LinkBacks (?)

  1. 04-12-2013, 02:27 PM
  2. 03-15-2013, 10:09 AM
  3. 08-11-2012, 12:06 AM
  4. 03-03-2012, 12:38 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