+ Reply
Page 52 of 136 FirstFirst ... 2 425051525354 62 102 ... LastLast
Results 1,021 to 1,040 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 itr2sti Would someone be willing to help me convert these two widgets into GPS and also a brief explanation of how it's done. Thanks Attachment 575288 Attachment
...
  1. #1021
    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 itr2sti View Post
    Would someone be willing to help me convert these two widgets into GPS and also a brief explanation of how it's done.
    Thanks

    Attachment 575288
    Attachment 575289
    Try Spectre_Barrel_GPS_Weather_Widget
    Made it as widget because I added the latitude and longitude on the top, might be too high for Lockscreen, don't know, have not tried it.

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

    itr2sti (03-25-2012), rob63 (03-27-2012), The_Durben (03-24-2012)

  3. #1022
    Livin the iPhone Life Steph53940's Avatar
    Join Date
    Oct 2010
    Posts
    1,557
    Thanks
    928
    Thanked 3,925 Times in 1,128 Posts

    hello what is it ?it is on all my themes

  4. #1023
    Green Apple
    Join Date
    Oct 2011
    Location
    Skudai, Johor, Malaysia, Malaysia
    Posts
    98
    Thanks
    181
    Thanked 52 Times in 29 Posts

    Quote Originally Posted by stratnik View Post
    code should go like this.
    Code:
    convertMPH(speed) {
    if (isMetric == "true") {
    speed = speed * 1.609344;
    speed = Math.round((speed * 10) / 10)
     return speed + " kph";
    } else {
    return speed + " mph";
    }
    In setup.js or config.js
    Code:
    var isMetric = true; // false for mph
    Hi there, where shld the first code goes to which file? TIA.

  5. #1024
    iPhone? More like MyPhone
    Join Date
    Apr 2009
    Location
    In a galaxy far far away
    Posts
    191
    Thanks
    114
    Thanked 64 Times in 51 Posts

    Quote Originally Posted by rasputin007 View Post
    Try Spectre_Barrel_GPS_Weather_Widget
    Made it as widget because I added the latitude and longitude on the top, might be too high for Lockscreen, don't know, have not tried it.
    Rasputin,
    Thanks a ton!!!! This worked perfectly.

  6. #1025
    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 Steph53940 View Post
    hello what is it ?it is on all my themes
    It is the "description"
    Yahoo doesn't have one for your current city.
    That's also an earlier version as Dacal and Ian have fixed the unknown description issue.
    Check Ian Nicolls UniAW 5.0 thread for his latest GPS animated weather widgets

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

    conflict73 (03-25-2012), Ian Nicoll (03-24-2012), Steph53940 (03-25-2012)

  8. #1026
    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 itr2sti View Post
    Rasputin,
    Thanks a ton!!!! This worked perfectly.
    You are welcome!
    This is the Lockscreen version, I moved the latitude and longitude to the left and added the 5 day forcast in an "invisible" tap to unlock lockscreen.


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

    bombmom (03-25-2012), elilab (03-25-2012), itr2sti (03-25-2012), jc4108 (03-25-2012), King_O_Hill (03-25-2012), nealh (03-24-2012), phil73 (03-24-2012), rob63 (03-27-2012), The_Durben (03-24-2012), yakitori2009 (03-26-2012)

  10. #1027
    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 kyle_ View Post
    Agree but the layer is made by me if u want proof I can send u the layer.psd if u don't believe me.
    The slideshow image is remaked by me to fit the layer.
    The hole idea came from schnedi but your LS is based on my LS what have your ls was without the main slideshow in the top ???
    Stop being ridiculous dude. You wouldn't even be using this if it weren't for crazy in the first place along with the work others did in this thread. Besides, bottom underlay and slider placement look nothing like one I did at all....
    Just be thankful you can use weather this way.

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

    bombmom (03-24-2012), Ian Nicoll (03-24-2012), phil73 (03-24-2012)

  12. #1028
    Green Apple
    Join Date
    Feb 2012
    Posts
    53
    Thanks
    4
    Thanked 108 Times in 18 Posts

    I'm working on to convert mono's LS to GPS LS and this what i have perform just now.


  13. #1029
    iPhone? More like MyPhone phil73's Avatar
    Join Date
    Jan 2012
    Posts
    138
    Thanks
    1,470
    Thanked 320 Times in 89 Posts

    the lock of Mone has already been done with GPS by @Oldster
    Last edited by phil73; 03-24-2012 at 07:21 PM.

  14. #1030
    Green Apple
    Join Date
    Feb 2012
    Posts
    53
    Thanks
    4
    Thanked 108 Times in 18 Posts

    Quote Originally Posted by phil73 View Post
    the lock of Mone has already been done with GPS by @Oldster
    Find it but can some one tell me how to disable the seconds and AM/PM function I really hate it...

  15. #1031
    iPhone? More like MyPhone Thespikie's Avatar
    Join Date
    Mar 2010
    Location
    Tienen, Belgium
    Posts
    137
    Thanks
    9
    Thanked 44 Times in 38 Posts

    Quote Originally Posted by phil73 View Post
    the lock of Mone has already been done with GPS by @Oldster
    Can somebody share this please?

    Thx
    Sorry for my bad english, I'm Dutch

  16. #1032
    Green Apple
    Join Date
    Feb 2012
    Posts
    53
    Thanks
    4
    Thanked 108 Times in 18 Posts

    Quote Originally Posted by Thespikie View Post
    Can somebody share this please?

    Thx
    http://dl.dropbox.com/u/28859017/LT%..._new.theme.zip

  17. The Following 2 Users Say Thank You to kyle_ For This Useful Post:

    King_O_Hill (03-25-2012), yakitori2009 (03-26-2012)

  18. #1033
    iPhone? More like MyPhone Thespikie's Avatar
    Join Date
    Mar 2010
    Location
    Tienen, Belgium
    Posts
    137
    Thanks
    9
    Thanked 44 Times in 38 Posts

    Thanks :-)

  19. The Following User Says Thank You to Thespikie For This Useful Post:

    jc4108 (03-25-2012)

  20. #1034
    Green Apple
    Join Date
    Feb 2012
    Posts
    53
    Thanks
    4
    Thanked 108 Times in 18 Posts

    Quote Originally Posted by Thespikie View Post
    Thanks :-)
    You are welcome

  21. #1035
    The BatGirl MamaJaay's Avatar
    Join Date
    Mar 2012
    Location
    @TheMamaJaay
    Posts
    5,196
    Thanks
    4,252
    Thanked 16,754 Times in 4,020 Posts

    Quote Originally Posted by phil73 View Post
    the lock of Mone has already been done with GPS by @Oldster
    Anyone have the springboard widget that matches?

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

    bombmom (03-25-2012)

  23. #1036
    iPhone? More like MyPhone Thespikie's Avatar
    Join Date
    Mar 2010
    Location
    Tienen, Belgium
    Posts
    137
    Thanks
    9
    Thanked 44 Times in 38 Posts

    this is my now but how do I get the GPS coordinates to see?
    GPS Based HTML Lockscreen Weather Theme-fotoyq.png
    Sorry for my bad english, I'm Dutch

  24. #1037
    desconocido
    Join Date
    Sep 2008
    Posts
    2,940
    Thanks
    2,901
    Thanked 25,715 Times in 2,504 Posts

    Quote Originally Posted by kyle_ View Post
    Find it but can some one tell me how to disable the seconds and AM/PM function I really hate it...

    .....

    open the CSS file and write
    display:none;
    to the seconds and am/pm style

    Quote Originally Posted by Thespikie View Post
    this is my now but how do I get the GPS coordinates to see?
    Attachment 575538
    you can't!! for that the code have to be modified...
    Last edited by Schnedi; 03-25-2012 at 07:54 AM.

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

    phil73 (03-25-2012)

  26. #1038
    iPhone? More like MyPhone Thespikie's Avatar
    Join Date
    Mar 2010
    Location
    Tienen, Belgium
    Posts
    137
    Thanks
    9
    Thanked 44 Times in 38 Posts

    You can't!! for that the code have to be modified...[/QUOTE]

    :-(

  27. #1039
    iPhone? More like MyPhone phil73's Avatar
    Join Date
    Jan 2012
    Posts
    138
    Thanks
    1,470
    Thanked 320 Times in 89 Posts

    Quote Originally Posted by Thespikie View Post
    You can't!! for that the code have to be modified...

    put that in theme.js / ****************************
    * GPS * put MyLocation
    **
    * Version 1.0 * 02/01/2012
    * Created by oldster *
    * Http://itheming.de/ *
    **************************** /

    / / Author: Vivek Thakur
    / / Date: 25 Feb 2012
    / / No longer Need appuuid
    / / Do not modify anything below this line UNLESS you know what you are doing.
    var prevlatitude = "";
    var prevlongitude = "";
    var woeid = "";
    UpdateLocation function () {
    jQuery.get ('.. /.. /.. /.. / var / mobile / Documents / myLocation.txt', function (appdata) {
    var myvar = appdata;
    var = substr appdata.split ('\ n');
    templatitude var = (substr [0]). split ('=');
    templongitude var = (substr [1]). split ('=');
    var = $ latitude. trim (templatitude [1]);
    var = $ longitude. trim (templongitude [1]);
    var Yahooappid = ""
    if (prevlatitude! latitude = | | prevlongitude! = longitude) {
    var url = "http://where.yahooapis.com/geocode?location =" + latitude + "+" + longitude + "& gflags = flags = R & J"
    $. GetJSON (url, function (data) {
    woeid data.ResultSet.Results = [0]. woeid;
    data.ResultSet.Results city = [0]. city;
    data.ResultSet.Results county = [0]. county;
    neighborhood data.ResultSet.Results = [0]. neighborhood;
    data.ResultSet.Results state = [0]. state;

    if (city! = "") {
    $ ("# Cityname"). Text (city);
    }
    else {
    $ ("# Cityname"). Text (county);
    }

    if (latitude <0) {
    textLat = Math.round (latitude * 100) / 100 + "\ u00B0" + "S";
    }
    else if (latitude> 0) {
    textLat = Math.round (latitude * 100) / 100 + "\ u00B0" + "N";
    }
    else {
    textLat = Math.round (latitude * 100) / 100 + "\ u00B0";
    }

    if (longitude <0) {
    textLong = Math.round (longitude * 100) / 100 + "\ u00B0" + "W";
    }
    else if (longitude> 0) {
    textLong = Math.round (longitude * 100) / 100 + "\ u00B0" + "E";
    }
    else {
    textLong = Math.round (longitude * 100) / 100 + "\ u00B0";
    }


    if (neighborhood! = "") {
    = neigh_lat_long neighborhood;
    }
    else {
    neigh_lat_long = state;
    }

    $ ("# Latlong"). Text (textLat + "" + textLong);
    $ ("# Neighborhoodname"). Text (neigh_lat_long);

    prevlatitude = latitude;
    prevlongitude = longitude;

    GetWeather (woeid) setInterval ('GetWeather (woeid)', 1000 * 20 * 60);


    });

    }
    });



    };

    then opens the Style.css and adds it into

    # {neighborhoodname
    position: absolute;
    width: 320px;
    height: 20px;
    left: 10px;
    text-align: left;
    z-index: 10;
    top: 170px;
    font-family: Default;
    color: white;
    font-size: 15px;
    font-weight: 100;
    }

    # {Latlong
    position: absolute;
    top: 170px;
    width: 320px;
    height: 20px;
    left:-10px;
    text-align: right;
    z-index: 10;
    font-family: Default;
    color: white;
    font-size: 15px;
    font-weight: 100;
    }

  28. The Following 2 Users Say Thank You to phil73 For This Useful Post:

    Destan (03-25-2012), elilab (03-25-2012)

  29. #1040
    iPhoneaholic Destan's Avatar
    Join Date
    Jan 2012
    Location
    Home
    Posts
    458
    Thanks
    1,305
    Thanked 845 Times in 263 Posts

    @Phil73
    Any chance that you could upload these two files with the modification to see the coordinates? I would like to have it too but do not even know where to type in what you have posted, at the beginning or the end on these two files ...

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