+ Reply
Page 44 of 136 FirstFirst ... 344243444546 54 94 ... LastLast
Results 861 to 880 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 rasputin007 I could offer an alternative: Add the MMUS repo "apt.mmus.us" in Cydia then select the "MyLocation app & GPS Theme". It is the MyLocation app as
...
  1. #861
    ".plist master" Them3this's Avatar
    Join Date
    Mar 2011
    Location
    Pittsburgh
    Posts
    2,058
    Thanks
    638
    Thanked 2,624 Times in 1,027 Posts

    Quote Originally Posted by rasputin007 View Post
    I could offer an alternative:
    Add the MMUS repo "apt.mmus.us" in Cydia then select the "MyLocation app & GPS Theme". It is the MyLocation app as a deb file repacked by myself, as the deb file from the first post trashed my 3GS twice. I only changed the file ownership and removed all executable attributes apart from the MyLocation file. Worked every time. It comes with a GPS winterboard theme, but you can delete that folder in the winterboard theme.
    Would be nice to see if that works as a friend has exactly the same problem on his ip4 5.0.1 and the Cydia download, app opens for a second and then closes.
    Again reboot after install to being able to see app icon, open app, set "Sig. Changes" to On and reboot again.
    I had serious issues as well. The fix for me was. Uninstalling all previous versions thru cydia/Ifile. Then rebooting my phone. Then downloading the GPS lockscreen in cydia by crazy. Then a reboot before even trying to open it. Then another respring for good measure. Then open it.


    I couldn't get it to work no matter what until that

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

    stratnik (03-17-2012)

  3. #862
    My iPhone is a Part of Me biers's Avatar
    Join Date
    Mar 2011
    Location
    Melbourne, Australia
    Posts
    649
    Thanks
    1,452
    Thanked 1,612 Times in 397 Posts

    Loving this LS, credit to everyone ur hard work is appreciated...
    Attached Thumbnails Attached Thumbnails GPS Based HTML Lockscreen Weather Theme-imageuploadedbymodmyi1331967525.885385.jpg  

  4. The Following User Says Thank You to biers For This Useful Post:

    elilab (03-17-2012)

  5. #863
    Modder GUNNY29's Avatar
    Join Date
    Aug 2010
    Posts
    5,414
    Thanks
    4,571
    Thanked 15,567 Times in 4,078 Posts

    Hi I have a very noob question to ask as I said before I have been following this thread and was reading and trying to learn how to incorporate the gps into existing mods but as there were a few people with different ways of doing it I kinda got lost. Is it an easy task to undertake, If so would someone mind giving me instructions on how to do it please if you have the time willing to donate if that is what's needed thank you for your time
    Click My Sig For my auros Mods

  6. #864
    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 GUNNY29 View Post
    Hi I have a very noob question to ask as I said before I have been following this thread and was reading and trying to learn how to incorporate the gps into existing mods but as there were a few people with different ways of doing it I kinda got lost. Is it an easy task to undertake, If so would someone mind giving me instructions on how to do it please if you have the time willing to donate if that is what's needed thank you for your time
    Hi, it depends of the widget you use... There is no simple way. Post your widget you want to modify and maybe i could explain you...


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

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

    GUNNY29 (03-17-2012), Ian Nicoll (03-17-2012), The_Durben (03-17-2012)

  8. #865
    Modder GUNNY29's Avatar
    Join Date
    Aug 2010
    Posts
    5,414
    Thanks
    4,571
    Thanked 15,567 Times in 4,078 Posts

    Ok thank you this the base weather widget i use weather widget.zip


    Quote Originally Posted by Dacal View Post
    Hi, it depends of the widget you use... There is no simple way. Post your widget you want to modify and maybe i could explain you...
    Click My Sig For my auros Mods

  9. #866
    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 GUNNY29 View Post
    Ok thank you this the base weather widget i use weather widget.zip
    OK. Let's go (link of the modified theme : weather widget.theme.zip

    Quick tutorial :

    1) First, you must add in your theme the GPS script. If you use mine, it's GetLocation_Weather.js (post above). Put the file in root folder. Then, you must load this javascript. Add this line in red at the beginning of the Wallpaper HTML (in head section) :

    <html><head>

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <script type="text/javascript" charset="utf-8" src="GetLocation_Weather.js"></script>
    Unfortunatly, the script can't work like that with your theme, cause there are small differences in the data recovery. So need to adjust a little. Edit "GetLocation_Weather.js" and add the line below (in red), at the beginning :

    var prevlatitude = "";
    var prevlongitude = "";
    var textLat;
    var textLong;
    var refreshWeatherTimer;
    var refrechLocationTimer;
    var get_location = false;
    var tempUnit = "f";
    var updateWeatherEvery = 15*60*1000; // Update weather every 15 minutes
    For consitency with your theme, you can add the real feel temp at the end :

    function xml_GPS_loaded (event, request, callback) {
    if (request.responseXML)
    {
    var obj = {error:false, errorString:null};
    xmldata = true;
    var effectiveRoot = findChild(findChild(request.responseXML, "rss"), "channel");
    obj.city = findChild(effectiveRoot, "yweather:location").getAttribute("city");
    obj.realFeel = findChild(effectiveRoot, "yweather:wind").getAttribute("chill");//Only accounts for windChill
    2) Next, if you want to do correctly the things , add a new variable in the Wallpaper.html to initiate (or not) the GPS mode. Search for the script section and add the line in red :

    var gps = true;
    var locale = "UKXX1186" //e.g. 'North Attleboro, Massachusetts'|'Moscow, Russia'|'Ledyard, AT'|'London, UK'

    3) Then, you must find which line launch the weather update. For this theme, there is no external javascript. All is in the Wallpaper.html.
    The line is in the "onLoad" function : validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal)

    You must change this line to :

    if (gps == true) { UpdateLocation(); }
    else { validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal); }
    Explaination : if gps is set to true, you call the UpdateLocation() function wich is in external GPS script. If false, work the same as before and use the locale variable.

    This is the main part. Now, there are some optional adjustments you can make... (add coordinates, etc...).
    Last edited by Dacal; 03-19-2012 at 09:04 AM.


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

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

    bod699 (03-17-2012), conflict73 (03-27-2012), elilab (03-17-2012), GUNNY29 (03-17-2012), Ian Nicoll (03-17-2012), jjk454ss (04-28-2012), RKO1195 (03-18-2012), Schnedi (03-21-2012), stratnik (03-17-2012), The_Durben (03-17-2012)

  11. #867
    Modder GUNNY29's Avatar
    Join Date
    Aug 2010
    Posts
    5,414
    Thanks
    4,571
    Thanked 15,567 Times in 4,078 Posts

    Thank you very much for taking the time and making the adjustments,Also providing the tutorial its perfect for a novice like me to understand Thank you again so much What is your paypal email so i can donate for your help



    Quote Originally Posted by Dacal View Post
    OK. Let's go (link of the modified theme : weather widget.theme.zip

    Quick tutorial :

    1) First, you must add in your theme the GPS script. If you use mine, it's GetLocation_Weather.js (post above). Put the file in root folder. Then, you must load this javascript. Add this line in red at the beginning of the Wallpaper HTML (in head section) :



    Unfortunatly, the script can't work like that with your theme, cause there are small differences in the data recovery. So need to adjust a little. Edit "GetLocation_Weather.js" and add the line below (in red), at the beginning :



    For consitency with your theme, you can add the real feel temp at the end :



    2) Next, if you want to do correctly the things , add a new variable in the Wallpaper.html to initiate (or not) the GPS mode. Search for the script section and add the line in red :




    3) Then, you must find which line launch the weather update. For this theme, there is no external javascript. All is in the Wallpaper.html.
    The line is in the "onLoad" function : validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal)

    You must change this line to :



    Explaination : if gps is set to true, you call the UpdateLocation() function wich is in external GPS script. If false, work the same as before and use the locale variable.

    This is the main part. Now, there are some optional adjustments you can make... (add coordinates, etc...).
    Click My Sig For my auros Mods

  12. #868
    What's Jailbreak?
    Join Date
    Mar 2012
    Posts
    11
    Thanks
    21
    Thanked 22 Times in 6 Posts

    [QUOTE=Dacal;6452480]OK. Let's go (link of the modified theme : weather widget.theme.zip

    Quick tutorial :

    .......................
    QUOTE]

    Hi,
    I've been visiting this thread for a couple of weeks and am amazed at the teams collaboration.

    So I registered to say thanks to Dacal and Durben, Rasputin, Ian and all that contributed...

    Cheers,

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

    Dacal (03-17-2012), Ian Nicoll (03-17-2012), stratnik (03-17-2012), The_Durben (03-17-2012)

  14. #869
    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 GUNNY29 View Post
    Thank you very much for taking the time and making the adjustments,Also providing the tutorial its perfect for a novice like me to understand Thank you again so much What is your paypal email so i can donate for your help
    No bro, i help for free and for this amazing communauty of enthusiast people. It's a pleasure.
    PS : But you can always buy my themes/make some publicity if you want .


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

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

    elilab (03-17-2012), GUNNY29 (03-17-2012), Ian Nicoll (03-17-2012), RKO1195 (03-18-2012), stratnik (03-17-2012), The_Durben (03-17-2012)

  16. #870
    Modder GUNNY29's Avatar
    Join Date
    Aug 2010
    Posts
    5,414
    Thanks
    4,571
    Thanked 15,567 Times in 4,078 Posts

    Thank you I will definetly check your themes out

    Quote Originally Posted by Dacal View Post
    No bro, i help for free and for this amazing communauty of enthusiast people. It's a pleasure.
    PS : But you can always buy my themes/make some publicity if you want .
    Click My Sig For my auros Mods

  17. The Following 3 Users Say Thank You to GUNNY29 For This Useful Post:

    Dacal (03-17-2012), Ian Nicoll (03-17-2012), The_Durben (03-17-2012)

  18. #871
    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,799
    Thanks
    7,295
    Thanked 18,527 Times in 3,777 Posts

    Quote Originally Posted by GUNNY29 View Post
    Thank you I will definetly check your themes out
    Highly recommend Dacal's themes, they are the most fully themed themes and you won't find better code to study & learn from.

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

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

    chevymusclecar (03-17-2012), Dacal (03-17-2012), elilab (03-17-2012), GUNNY29 (03-17-2012), RKO1195 (03-18-2012), Schnedi (03-17-2012), stratnik (03-17-2012), The_Durben (03-17-2012)

  20. #872
    Dalmatinac stratnik's Avatar
    Join Date
    Dec 2010
    Posts
    1,076
    Thanks
    5,880
    Thanked 4,157 Times in 835 Posts

    Quote Originally Posted by CloggieUK View Post
    Hey Stratnik, is that a modded Existenz widget? I use a modded Existenz widget very similar to yours. If so, could you share your set up as I cannot get my head around porting this to my Existenz widget?

    If at first you think, this is from the Dacal theme Basalt.
    In the last update he made the GPS widget,
    and it looks better than this.

    Quote Originally Posted by Ian Nicoll View Post
    Highly recommend Dacal's themes, they are the most fully themed themes and you won't find better code to study & learn from.
    I agree, on both counts

  21. The Following 2 Users Say Thank You to stratnik For This Useful Post:

    Dacal (03-17-2012), Ian Nicoll (03-17-2012)

  22. #873
    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,799
    Thanks
    7,295
    Thanked 18,527 Times in 3,777 Posts

    Might as well share this here too. (Posted it in the UniAW thread)

    Special thanks to crazy, Dacal, in-fact everybody here, great thread.

    PerPage version of UniAW5.0 All_in_one GPS. (Springjumps and icons not included)

    Attached Thumbnails Attached Thumbnails GPS Based HTML Lockscreen Weather Theme-img_0492.png  
    Last edited by Ian Nicoll; 03-17-2012 at 08:20 AM.

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

  23. The Following 14 Users Say Thank You to Ian Nicoll For This Useful Post:

    bombmom (03-21-2012), chevymusclecar (03-17-2012), chg128 (03-17-2012), conflict73 (03-17-2012), Dacal (03-17-2012), elilab (03-17-2012), King_O_Hill (03-18-2012), KraXik (03-17-2012), metaserph (03-17-2012), phil73 (03-17-2012), Schnedi (03-17-2012), sickchris714 (03-17-2012), stratnik (03-17-2012), The_Durben (03-17-2012)

  24. #874
    Dalmatinac stratnik's Avatar
    Join Date
    Dec 2010
    Posts
    1,076
    Thanks
    5,880
    Thanked 4,157 Times in 835 Posts

    Come on guys, anyone
    I added the last update on the original gps widget
    and got this



    This gives me a night icon



    Does anyone know a fix for this?

  25. #875
    CHG128 和平與愛 chg128's Avatar
    Join Date
    Jan 2008
    Location
    KL-UK
    Posts
    1,872
    Thanks
    4,324
    Thanked 4,679 Times in 1,212 Posts

    Quote Originally Posted by stratnik View Post
    Come on guys, anyone
    I added the last update on the original gps widget
    and got this



    This gives me a night icon



    Does anyone know a fix for this?
    //day
    iconfix = "d";
    }
    else {
    //night
    iconfix = "n";
    }


    and change it to

    //day
    iconfix = "n";
    }
    else {
    //night
    iconfix = "d";
    }

  26. The Following User Says Thank You to chg128 For This Useful Post:

    stratnik (03-18-2012)

  27. #876
    Modder GUNNY29's Avatar
    Join Date
    Aug 2010
    Posts
    5,414
    Thanks
    4,571
    Thanked 15,567 Times in 4,078 Posts

    Just a little tip for those who don't Need to use any other location services and don't like keeping sig change on.

    Turn on sig change so the status bar icon shows and close the app

    Set the location sb settings toggle so it shows in sb settings probably already there

    And use that from anywhere on the phone to turn sig change on and off when you need to update

    Would be cool to have a separate sb settings toggle but this is a workaround
    Click My Sig For my auros Mods

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

    conflict73 (03-17-2012), Coop2009 (04-30-2012), Dacal (03-17-2012), GAIAStevef (03-17-2012), Ian Nicoll (03-17-2012), metaserph (03-17-2012)

  29. #877
    Green Apple
    Join Date
    Feb 2011
    Posts
    40
    Thanks
    273
    Thanked 44 Times in 28 Posts

    Thanks for the quick tutorial Dacal, I used it and successfully converted an old Legacy LS I am using from Schnedi to work with GPS.

  30. The Following User Says Thank You to bod699 For This Useful Post:

    Dacal (03-17-2012)

  31. #878
    Master Modder Waverley73's Avatar
    Join Date
    Feb 2010
    Location
    Through The Never, Australia
    Posts
    3,377
    Thanks
    3,954
    Thanked 8,913 Times in 2,283 Posts

    Quote Originally Posted by Ian Nicoll View Post
    Highly recommend Dacal's themes, they are the most fully themed themes and you won't find better code to study & learn from.
    I definately agree with this. How you doing Ian, and gang? Durben alerted me to the fact this is much easier to install and it works perfectly. I am currently working on a SB weather widget (first one I've released in like 5 months - it's for an upcoming theme called #Faith by Cukheim) and will definately want to have a GPS version of it. What the best way to go about this? Should I contact one of you guys off-line or through this thread?


    Twitter Link: @Waverley73........My Mods: -Click Here- ......

  32. The Following 7 Users Say Thank You to Waverley73 For This Useful Post:

    bombmom (03-21-2012), chevymusclecar (03-17-2012), elilab (03-18-2012), Ian Nicoll (03-17-2012), metaserph (03-17-2012), The_Durben (03-17-2012), zocker48 (03-22-2012)

  33. #879
    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 Waverley73 View Post
    I definately agree with this. How you doing Ian, and gang? Durben alerted me to the fact this is much easier to install and it works perfectly. I am currently working on a SB weather widget (first one I've released in like 5 months - it's for an upcoming theme called #Faith by Cukheim) and will definately want to have a GPS version of it. What the best way to go about this? Should I contact one of you guys off-line or through this thread?


    Bro, if you need help, i'm here...


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

  34. The Following User Says Thank You to Dacal For This Useful Post:

    Ian Nicoll (03-17-2012)

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

    As much as I like the 5 day forecast it takes a lot of space, so either make it smaller with almost too little font or leave out some info. That I found rather annoying, so I remade the PerPage+ Widget and this is the result





    Basically the forecast for the next 4 days now only need the space of one as they change every 6 seconds.
    I used the cube plugin for jquery, but it does not behave as a rotating cube, it just changes the display from one day to the next.
    Well, not quite what I wanted but the end result is the same, 5 day forecast using much less space.

    deb file download

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

    chg128 (03-18-2012), elilab (03-18-2012), Ian Nicoll (03-17-2012), King_O_Hill (03-18-2012), nik1975 (03-17-2012), Ramses2 (03-18-2012), Schnedi (03-18-2012), stratnik (03-18-2012), The_Durben (03-17-2012), trebor130657 (03-18-2012), zocker48 (03-22-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