Page 9 of 136 FirstFirst ... 7891011 19 59 109 ... LastLast
Results 161 to 180 of 2706

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


Thread: GPS Based HTML Lockscreen Weather Theme

  1. #161
    Quote Originally Posted by rasputin007 View Post
    Did you got the MyLocation.app from the ipa in Windows?
    Then it will not work as Windows has no concept of file attributes, e.g executable file property.
    Using Linux retains the file attributes, but as soon as you copy the files they will get the logged in user's ownership, meaning if you are logged in as root you are OK, but if you are logged in as "Paul" then the iPhone does not know this user and iOS will not execute MyLocation even if that file has executable attribute.
    yes,i download it from the first post.

    i use Mac........

  2. #162

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

    barsoverbeats (03-02-2012), chg128 (03-02-2012), Ian Nicoll (03-02-2012), KraXik (03-02-2012), metaserph (03-02-2012), Schnedi (03-02-2012), The_Durben (03-02-2012)

  4. #163
    but still needs to be installed from cydia? to get mylocation files placed in Documents? and the right permissions?

  5. #164
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in the Philippines.
    Posts
    5,213
    Thanks
    8,190
    Thanked 20,829 Times in 4,162 Posts

    Quote Originally Posted by crazyvivek View Post
    I will try to provide you the explanation for the JavaScript code so that it can be used with other widgets. It is actually a very simple code.
    Thanks bud, the spotlight's on you M8.

    Your widget is great but lets face it, it's the gps part that blows us all away, I'm sure everybody want this in their own widgets.

    PS. Please give us a PayPal donation link for you, your work on this is very much appreciated by all & I'de like to buy you a beer or two.

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

  6. The Following 7 Users Say Thank You to Ian Nicoll For This Useful Post:

    chg128 (03-02-2012), jotka (03-02-2012), KraXik (03-02-2012), metaserph (03-02-2012), Sheff1889 (03-02-2012), stratnik (03-05-2012), The_Durben (03-02-2012)

  7. #165
    Recovering Theme Addict having a relapse jayjOka's Avatar
    Join Date
    Jan 2011
    Location
    Michigan
    Posts
    1,040
    Thanks
    1,389
    Thanked 1,980 Times in 652 Posts

    Completely agree with Ian put up donation link. This amazing

  8. The Following 3 Users Say Thank You to jayjOka For This Useful Post:

    Ian Nicoll (03-02-2012), Sheff1889 (03-02-2012), The_Durben (03-02-2012)

  9. #166
    and another beer goes to my bill if you can tell me
    - where i can translate the weather (fog, rain, etc) in german
    - where i can change the weather icons - i know where the icons are but they named 1d, 1n, 2d, 2n, etc. i should know what it stands for (cloudy, partly cloudy, and so on) as some numbers have the same picture.

    thanks in advance

  10. #167
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in the Philippines.
    Posts
    5,213
    Thanks
    8,190
    Thanked 20,829 Times in 4,162 Posts

    Quote Originally Posted by jotka View Post
    and another beer goes to my bill if you can tell me
    - where i can translate the weather (fog, rain, etc) in german
    - where i can change the weather icons - i know where the icons are but they named 1d, 1n, 2d, 2n, etc. i should know what it stands for (cloudy, partly cloudy, and so on) as some numbers have the same picture.

    thanks in advance
    I can't help you with the German translation on this particular widget... yet.

    Yahoo uses 48 numbers for weather conditions, (+ one for unknown) and yes uses the same picture for different conditions, like "partly cloudy" & "mostly cloudy" for example.

    Yahoo also has issues with showing day icons (with a sun) at 8 or 9pm so crazy has split them up into 2 sets of 48 icons, one for daytime (with a d) and another for nighttime (n) and coded it so it will show nighttime ones after your sunset time.

    You can change the icons but you have to stick to the same names.

    Here is a list of the weather conditions that Yahoo uses for the numbers 0 through 47 for reference, so if yahoo says the weather condition is 34, your widget will show whatever icon you have as number 34, as you see below it should be a "fair" icon.

    //0 tornado
    //1 tropical storm
    //2 hurricane
    //3 severe thunderstorms
    //4 thunderstorms
    //5 mixed rain and snow
    //6 mixed rain and sleet
    //7 mixed snow and sleet
    //8 freezing drizzle
    //9 drizzle
    //10 freezing rain
    //11 showers
    //12 showers
    //13 snow flurries
    //14 light snow showers
    //15 blowing snow
    //16 snow
    //17 hail
    //18 sleet
    //19 dust
    //20 foggy
    //21 haze
    //22 smoky
    //23 blustery
    //24 windy
    //25 cold
    //26 cloudy
    //27 mostly cloudy (night)
    //28 mostly cloudy (day)
    //29 partly cloudy (night)
    //30 partly cloudy/Windy(day)
    //31 clear (night)
    //32 sunny
    //33 fair (night)
    //34 fair (day)
    //35 mixed rain and hail
    //36 hot
    //37 isolated thunderstorms
    //38 scattered thunderstorms
    //39 scattered thunderstorms
    //40 scattered showers
    //41 heavy snow
    //42 scattered snow showers
    //43 heavy snow
    //44 partly cloudy
    //45 thundershowers
    //47 isolated thundershowers
    //3200 not available
    Last edited by Ian Nicoll; 03-02-2012 at 07:31 AM.

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

  11. The Following 10 Users Say Thank You to Ian Nicoll For This Useful Post:

    chevymusclecar (03-09-2012), chg128 (03-02-2012), Darrenrooster (03-24-2012), GAIAStevef (03-02-2012), jotka (03-02-2012), KraXik (03-02-2012), RippedThemer (03-23-2012), Sheff1889 (03-02-2012), stratnik (03-05-2012), The_Durben (03-02-2012)

  12. #168
    Ian, the beer offer was for crazyvivek as add on to beers you already offered.
    But OK, now i owe you a beer too Thanks for the detailed info.

    If anyone knows where i can translate the weather to german pls let me know. I also would like to share when done.

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

    Ian Nicoll (03-02-2012)

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

    Mit dem bisherigen Code gibt es keine Möglichkeit eine andere Sprache zu bekommen, sei es Deutsch, Französisch oder Italienisch!
    The reason is that the current code takes the weather description as it comes from Yahoo Weather, which is in English. Yahoo Weather does not offer different language support that's why other widgets use a translation.js, so basically any language can be setup, but this "translation module" is not in this code.
    One of the reasons it is not so easy to include this one into our own widgets is that here variables (var) are used whereas in our own widgets we still work with objects (obj.). Mixing these two does not seem to work.
    One major drawback I have found is the url.
    weather.yahooapis.com only provides 2 days of forecast, actually only one as the the forecast is today and tomorrow. Whereas the "old" url I am using (xml.weather.yahoo.com) still gives me 4 day of forecast plus today's weather.
    Luckily xml.weather.yahoo.com also works with woeid, but also gives only 2 days forecast, whereas the "old" Yahoo ID still gives 4 days. Try it yourself.
    xml.weather.yahoo.com with woeid
    xml.weather.yahoo.com with "old" Yahoo ID
    weather.yahooapis.com with woeid

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

    bombmom (03-03-2012), chg128 (03-02-2012), Ian Nicoll (03-02-2012), jotka (03-02-2012), KraXik (03-02-2012), Sheff1889 (03-02-2012), stratnik (03-05-2012), The_Durben (03-02-2012), trebor130657 (03-02-2012)

  16. #170
    Quote Originally Posted by schnedi View Post
    but still needs to be installed from cydia? to get mylocation files placed in Documents? and the right permissions?
    Installing from Cydia is the best way to get the app on the phone.
    Safer than the other method I used first.
    The permission setting is just so the app will actually open.
    The app itself creates the txt file that is unique to your current location.
    Sig.Change left running will automatically update the txt file with your location when it changes.
    I found this to be a battery drain if your constantly moving like I was yesterday travelling through 4 cities.
    You don't need to leave Sig.Change on in the app for it to update the weather conditions for your current city. That works the same as any other weather widget by time and it refresh (lock/unlock phone)
    If you change cities you only need open the app and turn Sig.Change on and back off for it to update the txt file. When you lock/unlock again it will be the new city.

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

    KraXik (03-02-2012), Schnedi (03-02-2012), Sheff1889 (03-02-2012)

  18. #171
    Works a treat too!! This is so awesome!! Thanks crazyvivek, PathKiller, and D skillz (The_Durben)
    I am really enjoying this!!



  19. The Following 4 Users Say Thank You to barsoverbeats For This Useful Post:

    Joserrrr (03-02-2012), Sheff1889 (03-02-2012), stratnik (03-05-2012), The_Durben (03-02-2012)

  20. #172
    Quote Originally Posted by rasputin007 View Post
    Mit dem bisherigen Code gibt es keine Möglichkeit eine andere Sprache zu bekommen, sei es Deutsch, Französisch oder Italienisch!
    The reason is that the current code takes the weather description as it comes from Yahoo Weather, which is in English. Yahoo Weather does not offer different language support that's why other widgets use a translation.js, so basically any language can be setup, but this "translation module" is not in this code.
    One of the reasons it is not so easy to include this one into our own widgets is that here variables (var) are used whereas in our own widgets we still work with objects (obj.). Mixing these two does not seem to work.
    One major drawback I have found is the url.
    weather.yahooapis.com only provides 2 days of forecast, actually only one as the the forecast is today and tomorrow. Whereas the "old" url I am using (xml.weather.yahoo.com) still gives me 4 day of forecast plus today's weather.
    Luckily xml.weather.yahoo.com also works with woeid, but also gives only 2 days forecast, whereas the "old" Yahoo ID still gives 4 days. Try it yourself.
    xml.weather.yahoo.com with woeid
    xml.weather.yahoo.com with "old" Yahoo ID
    weather.yahooapis.com with woeid
    Thanks for your explanation.
    But as per Ian's post before Yahoo use for every weather situation a different code. Therefore are 48 .png included in this.
    If i set the weather text to transparent and add the german name as part in the png's that should work, right ? So by example i put the word "Regen" into my png and if it rains it shows me the german name together with the picture. If i now set the color of the original text "rain" to transparent it should look like translated.
    Or do i forget anything ? Is it possible to set the text color to transparent ?

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

    If you add a weather condition into the png and set the "original" yahoo weather condition to transparent it should work.
    Alternatively you could add the "translation module", might be some work, but here is my german part of the translation.js to help you

    var Deutsch =
    [
    "Tornado", //0 tornado
    "Tropensturm", //1 tropical storm
    "Hurrikan", //2 hurricane
    "Starkes Gewitter", //3 severe thunderstorms
    "Gewitter", //4 thunderstorms
    "Schneeregen", //5 mixed rain and snow
    "Grauple", //6 mixed rain and sleet
    "Schneematsch", //7 mixed snow and sleet
    "Eissprühregen", //8 freezing drizzle
    "Sprühregen", //9 drizzle
    "Eisregen", //10 freezing rain
    "Schauer", //11 showers
    "Schauer", //12 showers
    "Schneeflocken", //13 snow flurries
    "Schneeschauer", //14 light snow showers
    "Schneetreiben", //15 blowing snow
    "Schnee", //16 snow
    "Hagel", //17 hail
    "Schneeregen", //18 sleet
    "Staub", //19 dust
    "Nebel", //20 foggy
    "Dunst", //21 haze
    "Rauchig", //22 smoky
    "Stürmig", //23 blustery
    "Windig", //24 windy
    "Kalt", //25 cold
    "Bewölkt", //26 cloudy
    "Stark bewölkt", //27 mostly cloudy (night)
    "Stark bewölkt", //28 mostly cloudy (day)
    "Etwas bewölkt", //29 partly cloudy (night)
    "Etwas bewölkt", //30 partly cloudy (day)
    "Wolkenfrei", //31 clear (night)
    "Sonnig", //32 sunny
    "Schön", //33 fair (night)
    "Schön", //34 fair (day)
    "Hagelregen", //35 mixed rain and hail
    "Heiß", //36 hot
    "Kleine Gewitter", //37 isolated thunderstorms
    "Kleine Gewitter", //38 scattered thunderstorms
    "Kleine Gewitter", //39 scattered thunderstorms
    "Kleine Schauer", //40 scattered showers
    "Dicker Schnee", //41 heavy snow
    "Schneeschauer", //42 scattered snow showers
    "Dicker Schnee", //43 heavy snow
    "Etwas bewölkt", //44 partly cloudy
    "Gewitterschauer", //45 thundershowers
    "Schneeschauer", //46 snow showers
    "Kleine Gewitter", //47 isolated thundershowers
    "Keine Angaben", //3200 not available
    ]

    First add this to the <head> part in GetLocation_Weather.js
    <script type="text/javascript" src="translation.js"></script>
    (btw the translation.js consists of a bit more code then the german section )

    Next in the "function writeResults()" add these lines
    var LangTranslate = Deutsch
    var MyText = LangTranslate[code*1]
    then replace
    $("#weathertext").text(text);
    with
    $("#weathertext").text(MyText);

    Not sure if that works or if I have missed something, but is a start.
    Last edited by rasputin007; 03-02-2012 at 11:03 AM.

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

    chg128 (03-02-2012), Ian Nicoll (03-02-2012), jotka (03-02-2012), KraXik (03-02-2012), Sheff1889 (03-02-2012), stratnik (03-05-2012), The_Durben (03-02-2012)

  23. #174
    Quote Originally Posted by jotka View Post
    Thanks for your explanation.
    But as per Ian's post before Yahoo use for every weather situation a different code. Therefore are 48 .png included in this.
    If i set the weather text to transparent and add the german name as part in the png's that should work, right ? So by example i put the word "Regen" into my png and if it rains it shows me the german name together with the picture. If i now set the color of the original text "rain" to transparent it should look like translated.
    Or do i forget anything ? Is it possible to set the text color to transparent ?
    In essence yes that will work and is a great idea for a quick fix.
    Add display:none; to the weathertext in the CSS

    Quote Originally Posted by barsoverbeats View Post
    Works a treat too!! This is so awesome!! Thanks crazyvivek, PathKiller, and D skillz (The_Durben)
    I am really enjoying this!!


    Thanks Bars, I just made it easy in its current state for users. crazy is the real genius
    My part was fairly simple. I just wanted an easy alternative instead of using hacked resources as I wouldn't install that other repo. That and styling it a bit.
    Like what you've done with the font though. Very nice!
    Last edited by The_Durben; 03-02-2012 at 10:53 AM.

  24. The Following 4 Users Say Thank You to The_Durben For This Useful Post:

    Ian Nicoll (03-02-2012), jotka (03-02-2012), Sheff1889 (03-02-2012), stratnik (03-05-2012)

  25. #175
    @rasputin007 i can change some easy things within .js files but im absolutly clueless about creating .js files. Thanks for your help but its like offering a blind man glasses

    @The_Durben OK, my challenge for the weekend. Hope i will find enough time than i will mod the original .png in the file.

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

    The_Durben (03-02-2012)

  27. #176
    My version of GPS weather

    Thanks so much to the author. And bars and Durben. Y'all rock
    Attached Thumbnails Attached Thumbnails -imageuploadedbymodmyi1330712066.320787.jpg  

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

    KraXik (03-02-2012), The_Durben (03-02-2012)

  29. #177
    Livin the iPhone Life KraXik's Avatar
    Join Date
    Mar 2011
    Location
    Winchester, UK
    Posts
    2,631
    Thanks
    2,681
    Thanked 1,755 Times in 892 Posts

    Quote Originally Posted by Them3this View Post
    My version of GPS weather

    Thanks so much to the author. And bars and Durben. Y'all rock
    Looks cool but can't help but notice you live at Slippery Rock. Lol I bet they were drunk when they named that!

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

    Quote Originally Posted by rob63 View Post
    rob63,

    Looks FANTASTIC!!!! I have the "pages" them, would you mind sharing your setup, I'd appreciate it.

    Thanks in advance....

  31. #179
    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 jotka View Post
    @rasputin007 i can change some easy things within .js files but im absolutly clueless about creating .js files. Thanks for your help but its like offering a blind man glasses
    Not to worry!
    I tried a different way and that works as well.
    copy and paste the following code into GetLocation_Weather.js into the "function writeResults()", just above the line
    $("#weathertext").text(text):




    if (code == 0) {
    text="Tornado";
    }
    else if (code == 1 ) {
    text= "Tropensturm";
    }
    else if (code == 2 ) {
    text= "Hurrikan";
    }
    else if (code == 3 ) {
    text= "Starkes Gewitter";
    }
    else if (code == 4 ) {
    text= "Gewitter";
    }
    else if (code == 5 ) {
    text= "Schneeregen";
    }
    else if (code == 6 ) {
    text= "Graupel";
    }
    else if (code == 7 ) {
    text= "Schneematch";
    }
    else if (code == 8 ) {
    text= "Eissprühregen";
    }
    else if (code == 9 ) {
    text= "Sprühregen";
    }
    else if (code == 10 ) {
    text= "Eisregen";
    }
    else if (code == 11 ) {
    text= "Schauer";
    }
    else if (code == 12 ) {
    text= "Schauer";
    }
    else if (code == 13 ) {
    text= "Schneeflocken";
    }
    else if (code == 14 ) {
    text= "Schneeschauer";
    }
    else if (code == 15 ) {
    text= "Schneetreiben";
    }
    else if (code == 16 ) {
    text= "Schnee";
    }
    else if (code == 17 ) {
    text= "Hagel";
    }
    else if (code == 18 ) {
    text= "Schneeregen";
    }
    else if (code == 19 ) {
    text= "Staub";
    }
    else if (code == 20 ) {
    text= "Nebel";
    }
    else if (code == 21 ) {
    text= "Dunst";
    }
    else if (code == 22 ) {
    text= "Rauchig";
    }
    else if (code == 23 ) {
    text= "Stürmig";
    }
    else if (code == 24 ) {
    text= "Windig";
    }
    else if (code == 25 ) {
    text= "Kalt";
    }
    else if (code == 26 ) {
    text= "Bewölkt";
    }
    else if (code == 27 ) {
    text= "Stark bewölkt";
    }
    else if (code == 28 ) {
    text= "Stark bewölkt";
    }
    else if (code == 29 ) {
    text= "Etwas bewölkt";
    }
    else if (code == 30 ) {
    text= "Etwas bewölkt";
    }
    else if (code == 31 ) {
    text= "Wolkenfrei";
    }
    else if (code == 32 ) {
    text= "Sonnig";
    }
    else if (code == 33 ) {
    text= "Schön";
    }
    else if (code == 34 ) {
    text= "Schön";
    }
    else if (code == 35 ) {
    text= "Hagelregen";
    }
    else if (code == 36 ) {
    text= "Heiß";
    }
    else if (code == 37 ) {
    text= "Kleine Gwitter";
    }
    else if (code == 38 ) {
    text= "Kleine Gwitter";
    }
    else if (code == 39 ) {
    text= "Kleine Gwitter";
    }
    else if (code == 40 ) {
    text= "Kleine Schauer";
    }
    else if (code == 41 ) {
    text= "Dicker Schnee";
    }
    else if (code == 42 ) {
    text= "Schneeschauer";
    }
    else if (code == 43 ) {
    text= "Dicker Schnee";
    }
    else if (code == 44 ) {
    text= "Etwas bewölkt";
    }
    else if (code == 45 ) {
    text= "Gewitterschauer";
    }
    else if (code == 46 ) {
    text= "Schneeschauer";
    }
    else if (code == 47 ) {
    text= "Kleine Gwitter";
    }
    else {
    text="Keine Angaben";
    }

    Anybody now can adjust the weather description to their own language or choice of words, e.g. instead of "rain" let it show "That wet stuff".

    Here a screenshot with custom text

    Last edited by rasputin007; 03-02-2012 at 01:19 PM.

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

    chg128 (03-02-2012), Ian Nicoll (03-02-2012), jotka (03-02-2012), KraXik (03-02-2012), Schnedi (03-02-2012), stratnik (03-05-2012), The_Durben (03-02-2012)

  33. #180
    This works for non uuid enabling when the app is installed as a deb
    Or if you use the Download to phone method and click the ipa, click zip viewer, click extract all files and then copy the MyLocation.app from the payload folder and place it in var/stash/Applications.xxxx
    This is my modified js w/ the stock theme in the DL below.

    Removed Download from my Dropbox as crazy added to first post

    This is crazyvivek's app packaged as a deb by Pathkiller. I had him check permissions after mine didn't work. He is a good dude and kindly helped out. I was waiting for him to say ok before I posted this.
    Download this to your phone. Open MyLocation.zip using ifile and extract all. You will get MyLocation.deb
    Click on that and hit install. It will install to var/stash/Applications.xxxx and ask you to respring.

    Removed Download from my Dropbox as crazy added to first post


    Until crazyvivek gets it hosted on Cydia which I suggested this is a lot easier than the original method.
    DO NOT install the deb over the Application if it is already in your phone. Remove the App first as well as the theme. Reboot and then install.

    This is similar to the info I sent crazyvivek and let him know it's up to him to do with it what he will.

    crazyvivek, I hope you don't mind me posting this but it's basically the same as what you posted in your download, just easier to use.

    Thank you again for creating this. Truly a game changer!

    Again all, I would have done this sooner but I was waiting on people for an ok. Believe me, I share all I do publicly unless it's made exclusively for a theme and then for obvious reasons I can't.

    Anyway, I hope you all enjoy. And I truly hope crazyvivek is ok with this post.
    This is such great work by him everyone should be using it.
    As the gentleman Ian Nicoll suggested as well, crazyvivek needs a donation link.
    This is revolutionary right here! Absolutely amazing job

    If you grab EPHD by Barsoverbeats it will include an easy install and styled theme to match using the GPSWeather. Definitely worth checking out
    Last edited by The_Durben; 03-07-2012 at 11:22 PM.

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

    chg128 (03-02-2012), conflict73 (03-03-2012), Darrenrooster (03-02-2012), Ian Nicoll (03-02-2012), jjk454ss (03-02-2012), KaiTa (03-03-2012), King_O_Hill (03-02-2012), KraXik (03-02-2012), Q_bAn_b (03-07-2012), rasputin007 (03-02-2012), stratnik (03-05-2012)

Page 9 of 136 FirstFirst ... 7891011 19 59 109 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •