Page 167 of 216 FirstFirst ... 67 117 157165166167168169 177 ... LastLast
Results 3,321 to 3,340 of 4303

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


Thread: Widget Weather

  1. #3321
    Sorry if this has already been mentioned but how exactly do you make a widget use the location data provided by widget weather to update current location and weather?
    Please someone offer some assistance.

  2. #3322
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,739
    Thanks
    43,085
    Thanked 18,691 Times in 6,725 Posts

    @ Newd

    This is not a UniAW mod, it is Dacals version of Yahoos weather app. I agree with Simon in that this is usable by everyone, but maybe a little advanced to mod by the beginners. It's very nice that it gives people with more skills something to work with. For beginners, I suggest starting with UniAW, as its all laid out for easy use/modding.
    Widget Weather 2.0 App Currently in Public Beta for iOS 8 only!
    Check out the thread here - Widget-Weather 2.0

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

    mfisherbsu (04-07-2014), RKO1195 (04-07-2014), Simon (04-06-2014)

  4. #3323
    Superbad Modder-ator Simon's Avatar
    Join Date
    Nov 2007
    Location
    Bermuda
    Posts
    46,714
    Thanks
    6,948
    Thanked 15,486 Times in 7,088 Posts

    Quote Originally Posted by ryanDC View Post
    Sorry if this has already been mentioned but how exactly do you make a widget use the location data provided by widget weather to update current location and weather?
    Please someone offer some assistance.
    Easiest way would probably be take the base widget in the first post and build your widget up around that.

  5. The Following User Says Thank You to Simon For This Useful Post:

    mfisherbsu (04-07-2014)

  6. #3324
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,739
    Thanks
    43,085
    Thanked 18,691 Times in 6,725 Posts

    Quote Originally Posted by ryanDC View Post
    Sorry if this has already been mentioned but how exactly do you make a widget use the location data provided by widget weather to update current location and weather?
    Please someone offer some assistance.
    The XML file created by WW contains all the updated weather info inside of it. Updates are set by the time interval that you select in the settings app. If there is other info that you want but not in there, then you have to make a separate call to another API to obtain that info.

    Or you can do what Simon posted above.
    Widget Weather 2.0 App Currently in Public Beta for iOS 8 only!
    Check out the thread here - Widget-Weather 2.0

  7. The Following User Says Thank You to King_O_Hill For This Useful Post:

    mfisherbsu (04-07-2014)

  8. #3325
    Quote Originally Posted by King_O_Hill View Post
    The XML file created by WW contains all the updated weather info inside of it. Updates are set by the time interval that you select in the settings app. If there is other info that you want but not in there, then you have to make a separate call to another API to obtain that info.

    Or you can do what Simon posted above.
    Ok king_o_hill that's handy to know, I already have a widget, it's one that I downloaded, but at the moment I have to put the weather woeid in when tap and holding on springboard to initially create the iwidget.
    I have spoken to the developer of the widget but he says he doesn't know how to get the widget to incorporate data via weather widget.
    I have looked at the XML file for the widget I have but to be honest I don't know how to edit it to tell it to use the my location file in documents to auto update the weather location.

  9. #3326
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,739
    Thanks
    43,085
    Thanked 18,691 Times in 6,725 Posts

    Quote Originally Posted by ryanDC View Post
    Ok king_o_hill that's handy to know, I already have a widget, it's one that I downloaded, but at the moment I have to put the weather woeid in when tap and holding on springboard to initially create the iwidget.
    I have spoken to the developer of the widget but he says he doesn't know how to get the widget to incorporate data via weather widget.
    I have looked at the XML file for the widget I have but to be honest I don't know how to edit it to tell it to use the my location file in documents to auto update the weather location.
    Ok, if the developer is currently making a call to a free API, and getting a JSON response, he can just get his elements from the XML file instead of having to make the request, get the reply and then parse the return. Have him look at the base file on the first post of this thread and it should be very clear as to what he needs to do.
    Widget Weather 2.0 App Currently in Public Beta for iOS 8 only!
    Check out the thread here - Widget-Weather 2.0

  10. The Following User Says Thank You to King_O_Hill For This Useful Post:

    RKO1195 (04-07-2014)

  11. #3327
    WOW, nice job Marty! No need trying to make my own mods when you all keep coming out with stuff this cool! Amazing how you think of these cool updates...and so often! Thanks for sharing!

  12. The Following User Says Thank You to mfisherbsu For This Useful Post:

    Marty McFly (04-07-2014)

  13. #3328
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,739
    Thanks
    43,085
    Thanked 18,691 Times in 6,725 Posts

    Hey, does anyone have an updated WW HTC iWidget? I've seen them around and know there's one or 2 out there.
    Widget Weather 2.0 App Currently in Public Beta for iOS 8 only!
    Check out the thread here - Widget-Weather 2.0

  14. #3329
    Livin the iPhone Life nik1975's Avatar
    Join Date
    Feb 2008
    Location
    Thessaloniki, Greece
    Posts
    1,381
    Thanks
    3,166
    Thanked 1,085 Times in 632 Posts

    @Marty in your recent mod,is there a way that we can "lock"our adress in the bottom and do not change?Because i use the fixed configuration,i want to have the weather where i live,so i ll be nice to have also the street name on it.
    How can i make this?

  15. #3330
    Quote Originally Posted by nik1975 View Post
    @Marty in your recent mod,is there a way that we can "lock"our adress in the bottom and do not change?Because i use the fixed configuration,i want to have the weather where i live,so i ll be nice to have also the street name on it.
    How can i make this?
    If you want to have the same address and same street view all the time, you need to 'hard code' the coordinates. Look for these two lines in main.js and replace obj.digits with the coordinates of your fixed location (which you can get from your XML file - extraLocName)...

    Code:
    var bkimage ="url(http://maps.googleapis.com/maps/api/...x480&location="+ obj.digits + "&fov=55&heading=82&pitch=5&sensor=false)";
    
    var url = "http://maps.googleapis.com/maps/api/geocode/json?latlng="+ obj.digits + "&sensor=false"
    So....

    Code:
    var bkimage ="url(http://maps.googleapis.com/maps/api/...x480&location=99.999999, -99.999999&fov=55&heading=82&pitch=5&sensor=false)";
    
    var url = "http://maps.googleapis.com/maps/api/geocode/json?latlng=99.999999, -99.999999&sensor=false"

  16. The Following 8 Users Say Thank You to Marty McFly For This Useful Post:

    Hip5 (04-08-2014), King_O_Hill (04-08-2014), menard_00 (04-16-2014), mfisherbsu (04-11-2014), nateD (04-13-2014), NewdestinyX (04-08-2014), nik1975 (04-08-2014), The.Drifter (04-08-2014)

  17. #3331
    Can I ask, what would need to be done in order to convert a non WW iwidget to be able to actually use WW GPS data instead of a WOEID?

    @Marty, I noticed in one of your YouTube videos that you have the location services status bar icon but it looked themed, is that available on cydia or is it for your private use?

  18. #3332
    [QUOTE=ryanDC;7059539]Can I ask, what would need to be done in order to convert a non WW iwidget to be able to actually use WW GPS data instead of a WOEID?

    I'll give you a K-O-H answer. "That's easy to do". With no explanation of how.

    My attempt at humor. 😉

  19. #3333
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,739
    Thanks
    43,085
    Thanked 18,691 Times in 6,725 Posts

    Funny guy. I'll just keep that in mind.

    Ryan, I know one was done, but no one has answered my request. Why don't you post your widget that you want converted and it will make it easier to help you.

    See how easy that was.
    Widget Weather 2.0 App Currently in Public Beta for iOS 8 only!
    Check out the thread here - Widget-Weather 2.0

  20. #3334
    Quote Originally Posted by King_O_Hill View Post
    Funny guy. I'll just keep that in mind.

    Ryan, I know one was done, but no one has answered my request. Why don't you post your widget that you want converted and it will make it easier to help you.

    See how easy that was.
    Lol

    Quote Originally Posted by Werty12 View Post
    Lol
    I'm high. Sorry
    Last edited by Werty12; 04-08-2014 at 09:43 PM.

  21. The Following User Says Thank You to Werty12 For This Useful Post:

    King_O_Hill (04-08-2014)

  22. #3335
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,739
    Thanks
    43,085
    Thanked 18,691 Times in 6,725 Posts

    Quote Originally Posted by Werty12 View Post
    Lol



    I'm high. Sorry
    All good bro!
    Widget Weather 2.0 App Currently in Public Beta for iOS 8 only!
    Check out the thread here - Widget-Weather 2.0

  23. The Following User Says Thank You to King_O_Hill For This Useful Post:

    Werty12 (04-08-2014)

  24. #3336
    Livin the iPhone Life nik1975's Avatar
    Join Date
    Feb 2008
    Location
    Thessaloniki, Greece
    Posts
    1,381
    Thanks
    3,166
    Thanked 1,085 Times in 632 Posts

    Quote Originally Posted by Marty McFly View Post
    If you want to have the same address and same street view all the time, you need to 'hard code' the coordinates. Look for these two lines in main.js and replace obj.digits with the coordinates of your fixed location (which you can get from your XML file - extraLocName)...

    Code:
    var bkimage ="url(http://maps.googleapis.com/maps/api/...x480&location="+ obj.digits + "&fov=55&heading=82&pitch=5&sensor=false)";
    
    var url = "http://maps.googleapis.com/maps/api/geocode/json?latlng="+ obj.digits + "&sensor=false"
    So....

    Code:
    var bkimage ="url(http://maps.googleapis.com/maps/api/...x480&location=99.999999, -99.999999&fov=55&heading=82&pitch=5&sensor=false)";
    
    var url = "http://maps.googleapis.com/maps/api/geocode/json?latlng=99.999999, -99.999999&sensor=false"
    Marty,i cant find the coordinates of my fixed location.Can you help me a little more please?
    And also where is the main.js?
    Editk find it,replace it but doesnt show the address.Seems that the coordinates are wrong that i use it
    Last edited by nik1975; 04-08-2014 at 11:52 PM.

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

    RKO1195 (04-09-2014)

  26. #3337
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,739
    Thanks
    43,085
    Thanked 18,691 Times in 6,725 Posts

    Quote Originally Posted by nik1975 View Post
    Marty,i cant find the coordinates of my fixed location.Can you help me a little more please?
    And also where is the main.js?
    Editk find it,replace it but doesnt show the address.Seems that the coordinates are wrong that i use it
    Are you using the coordinates near the top of the XML file? If so, you need to look a little further down for "extraLocName" and use the coordinates there.

    If your street view has the correct address that you want, then your good to go. But if its showing your neighbors house, then give a quick restoring and check it again before using the coordinates.
    Widget Weather 2.0 App Currently in Public Beta for iOS 8 only!
    Check out the thread here - Widget-Weather 2.0

  27. The Following 2 Users Say Thank You to King_O_Hill For This Useful Post:

    nik1975 (04-09-2014), RKO1195 (04-09-2014)

  28. #3338
    That's a respring and not restoring Nik lol

  29. #3339
    Livin the iPhone Life nik1975's Avatar
    Join Date
    Feb 2008
    Location
    Thessaloniki, Greece
    Posts
    1,381
    Thanks
    3,166
    Thanked 1,085 Times in 632 Posts

    Quote Originally Posted by King_O_Hill View Post
    Are you using the coordinates near the top of the XML file? If so, you need to look a little further down for "extraLocName" and use the coordinates there.

    If your street view has the correct address that you want, then your good to go. But if its showing your neighbors house, then give a quick restoring and check it again before using the coordinates.
    It changes the adress,in the same time shows me 2-3 adresses!Am i living to space???
    So about the fixed coordinates,i can find them in widget xml in my documents?

  30. #3340
    Yea the cords is in the Documents folder in widget weather.xml

  31. The Following User Says Thank You to RKO1195 For This Useful Post:

    nik1975 (04-09-2014)

Page 167 of 216 FirstFirst ... 67 117 157165166167168169 177 ... 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
  •