Page 128 of 614 FirstFirst ... 2878118126127128129130138178228 ... LastLast
Results 2,541 to 2,560 of 12265

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


Thread: UniAW7

  1. #2541
    Quote Originally Posted by Dacal View Post
    Damn ! Thx Ian
    Oh hi bud.

    I haven't done any updates yet, just playing atm.

    I got a question for ya bud:

    To get UniAW working in GroovyLock all I do is this:

    Code:
    function updateWeather() {
    if (XML_TEST == true) { var url = "widgetweather" + xmlnumber + ".xml"; } else { var url = "file:///private/var/mobile/Documents/widgetweather" + xmlnumber + ".xml"; }
    groovyAPI.do ( { read: "widgetweather.xml" }, function(data) {
    //jQuery.get(url, function(data) {
    obj.updatetimestring = $(data).find('updatetimestring').text();
    For the last hour I have been trying to make a switch in the Config.js file "var GroovyLockPlus = true;"
    But cannot get it working.

    This doesn't work:

    Code:
    function updateWeather() {
    if (XML_TEST == true) { var url = "widgetweather" + xmlnumber + ".xml"; } else { var url = "file:///private/var/mobile/Documents/widgetweather" + xmlnumber + ".xml"; }
    if (groovyLockPlus == true) {
    groovyAPI.do ( { read: "widgetweather.xml" }, function(data) {
    } else {
    jQuery.get(url, function(data) {
    }
    obj.updatetimestring = $(data).find('updatetimestring').text();
    and this doesn't work:

    Code:
    function updateWeather() {
    if (XML_TEST == true) { var url = "widgetweather" + xmlnumber + ".xml"; } else { var url = "file:///private/var/mobile/Documents/widgetweather" + xmlnumber + ".xml"; }
    if (groovyLockPlus == true) {
    groovyAPI.do ( { read: "widgetweather.xml" }, function(data)
    } else {
    jQuery.get(url, function(data)
    } {
    obj.updatetimestring = $(data).find('updatetimestring').text();
    Even this doesn't work:

    Code:
    function updateWeather() {
    
    if (groovyLockPlus == true) {
    if (XML_TEST == true) { var url = "widgetweather" + xmlnumber + ".xml"; } else { var url = "file:///private/var/mobile/Documents/widgetweather" + xmlnumber + ".xml"; }
    groovyAPI.do ( { read: "widgetweather.xml" }, function(data) {
    obj.updatetimestring = $(data).find('updatetimestring').text();
    
    } else {
    
    if (XML_TEST == true) { var url = "widgetweather" + xmlnumber + ".xml"; } else { var url = "file:///private/var/mobile/Documents/widgetweather" + xmlnumber + ".xml"; }
    jQuery.get(url, function(data) {
    obj.updatetimestring = $(data).find('updatetimestring').text();
    }
    Any idea's?

    Thanks David.

    So I have been playing with this on my i5, and I have to be honest, today it was raining and the rain animation in GroovyLock+ was slightly rough compared to Convergance, this was a surprise to me as I thought performance would get a boost using WKWebKit.
    I also noticed this in the original GroovyLock, I guess Convergance & GroovyLock are not coded in the same manner.
    Last edited by <Ian Nicoll/>; 2014-12-31 at 02:18 PM.

  2. #2542
    I'm addicted to jailbreak lostinthemes's Avatar
    Join Date
    Dec 2010
    Location
    Istanbul, Turkey
    Posts
    596
    Thanks
    7,098
    Thanked 478 Times in 228 Posts

    Quote Originally Posted by incubus26jc View Post
    This was my setup today with excellent battery life.
    Everything stayed updated and gps switched cities just fine.
    Thanks King_O_Hill for the Turning off "background app refresh" suggestion. Huge difference today.
    I went from 100% to 94% at work today. Yesterday i was at 73% when i got off work.

    How many hours do you work?

  3. #2543
    Quote Originally Posted by Ian Nicoll View Post
    Oh hi bud.

    I haven't done any updates yet, just playing atm.

    I got a question for ya bud:

    To get UniAW working in GroovyLock all I do is this:

    Code:
    function updateWeather() {
    if (XML_TEST == true) { var url = "widgetweather" + xmlnumber + ".xml"; } else { var url = "file:///private/var/mobile/Documents/widgetweather" + xmlnumber + ".xml"; }
    groovyAPI.do ( { read: "widgetweather.xml" }, function(data) {
    //jQuery.get(url, function(data) {
    obj.updatetimestring = $(data).find('updatetimestring').text();
    For the last hour I have been trying to make a switch in the Config.js file "var GroovyLockPlus = true;"
    But cannot get it working.

    This doesn't work:

    Code:
    function updateWeather() {
    if (XML_TEST == true) { var url = "widgetweather" + xmlnumber + ".xml"; } else { var url = "file:///private/var/mobile/Documents/widgetweather" + xmlnumber + ".xml"; }
    if (groovyLockPlus == true) {
    groovyAPI.do ( { read: "widgetweather.xml" }, function(data) {
    } else {
    jQuery.get(url, function(data) {
    }
    obj.updatetimestring = $(data).find('updatetimestring').text();
    and this doesn't work:

    Code:
    function updateWeather() {
    if (XML_TEST == true) { var url = "widgetweather" + xmlnumber + ".xml"; } else { var url = "file:///private/var/mobile/Documents/widgetweather" + xmlnumber + ".xml"; }
    if (groovyLockPlus == true) {
    groovyAPI.do ( { read: "widgetweather.xml" }, function(data)
    } else {
    jQuery.get(url, function(data)
    } {
    obj.updatetimestring = $(data).find('updatetimestring').text();
    Even this doesn't work:

    Code:
    function updateWeather() {
    
    if (groovyLockPlus == true) {
    if (XML_TEST == true) { var url = "widgetweather" + xmlnumber + ".xml"; } else { var url = "file:///private/var/mobile/Documents/widgetweather" + xmlnumber + ".xml"; }
    groovyAPI.do ( { read: "widgetweather.xml" }, function(data) {
    obj.updatetimestring = $(data).find('updatetimestring').text();
    
    } else {
    
    if (XML_TEST == true) { var url = "widgetweather" + xmlnumber + ".xml"; } else { var url = "file:///private/var/mobile/Documents/widgetweather" + xmlnumber + ".xml"; }
    jQuery.get(url, function(data) {
    obj.updatetimestring = $(data).find('updatetimestring').text();
    }
    Any idea's?

    Thanks David.
    Lol ! I don't have tried GL+ yet...

    Probably something like that :

    function updateWeather() {
    if (XML_TEST == true) { var url = "widgetweather" + xmlnumber + ".xml"; } else { var url = "file:///private/var/mobile/Documents/widgetweather" + xmlnumber + ".xml"; }
    if (groovyLockPlus == true) {
    groovyAPI.do({ read: "widgetweather.xml" }, getWeatherData(data));
    } else {
    jQuery.get(url, getWeatherData(data));
    }
    }

    function getWeatherData(data) {
    obj.updatetimestring = $(data).find('updatetimestring').text();
    ...
    }
    Or look latest Chevy's mod. I think he has done something more clean ?
    Last edited by Dacal; 2014-12-31 at 02:30 PM.


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

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

    <Ian Nicoll/> (2014-12-31)

  5. #2544
    Quote Originally Posted by Dacal View Post
    Lol ! I don't have tried GL+ yet...

    Probably something like that :
    Or look latest Chevy's mod. I think he has done something more clean ?
    No. not working either pal, & Chevy's mod (from what I read) only works in GroovyLock+, not as "normal".

    Code:
    function updateWeather_XML() {
        var files = "widgetweather" + xmlnumber + ".xml";
        var url = "file:///private/var/mobile/Documents/" + files;
            if (typeof groovyAPI !== 'undefined') {
                groovyAPI.do ( { read: files }, weatherHandler );
            } else {
                if (XML_TEST == true) {
                    url = files
                }
            jQuery.get(url, weatherHandler).fail(function () {
            document.getElementById("desc").innerHTML = "No widgetweather.xml file !";
            document.getElementById("desc1").innerHTML = "No widgetweather.xml file !";
            });
        }
    Something for you to do next year

    Have a good one pal.

  6. The Following User Says Thank You to <Ian Nicoll/> For This Useful Post:

    Dacal (2014-12-31)

  7. #2545
    -imageuploadedbymodmyi1420034575.683222.jpg
    Am I the only one who thinks its funny that yahoo now has frost at 32 degrees and under?

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

    <Ian Nicoll/> (2014-12-31)

  9. #2546
    when the clouds go across my icons i cant select the app is this normal or is it just me being thick lol ?

  10. #2547
    Quote Originally Posted by can7 View Post
    when the clouds go across my icons i cant select the app is this normal or is it just me being thick lol ?
    With the iWidget we need to define the height in the plist file so we can use the touch events, unfortunately this means you cannot touch any icon under this area. If you are using iWidget as "Animations Only" then you don't need the touch events so you can open the Widget.plist file and set the height to 80 instead of 292.

  11. The Following 2 Users Say Thank You to <Ian Nicoll/> For This Useful Post:

    can7 (2014-12-31), kristatos (2014-12-31)

  12. #2548
    Quote Originally Posted by Ian Nicoll View Post
    No. not working either pal, & Chevy's mod (from what I read) only works in GroovyLock+, not as "normal".

    Code:
    function updateWeather_XML() {
        var files = "widgetweather" + xmlnumber + ".xml";
        var url = "file:///private/var/mobile/Documents/" + files;
            if (typeof groovyAPI !== 'undefined') {
                groovyAPI.do ( { read: files }, weatherHandler );
            } else {
                if (XML_TEST == true) {
                    url = files
                }
            jQuery.get(url, weatherHandler).fail(function () {
            document.getElementById("desc").innerHTML = "No widgetweather.xml file !";
            document.getElementById("desc1").innerHTML = "No widgetweather.xml file !";
            });
        }
    Something for you to do next year

    Have a good one pal.
    Yaeh ! I'm too busy right now to test and there is a tempest in Tunisia, my connexion sucks !

    Soon the new year for you my friend, no ? ;o).


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

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

    <Ian Nicoll/> (2014-12-31), King_O_Hill (2014-12-31)

  14. #2549
    Code Dependent NewD's Avatar
    Join Date
    Jan 2012
    Location
    Northeast US
    Posts
    5,712
    Thanks
    8,338
    Thanked 16,467 Times in 7,697 Posts

    Default UniAW7
    Quote Originally Posted by Ian Nicoll View Post
    With the iWidget we need to define the height in the plist file so we can use the touch events, unfortunately this means you cannot touch any icon under this area. If you are using iWidget as "Animations Only" then you don't need the touch events so you can open the Widget.plist file and set the height to 80 instead of 292.
    Ian, it occurs to me, why would a person usually need UniAW7 touch events in the iWidget version? I observe that when users run it as an iWidget it's usually as animations only. Maybe I'm missing something… But all of the current touch events would cover up their icons on a springboard page. I wonder if the widget.plist should just be set for a default height of 60 or so. Then if they really want to run the iWidgets version on a page with no icons - they'll see the cut off elements and ask here what they can do to rectify. I wonder if using a default height of 60 would generate less support questions than the current 220px, "my icons are covered" way.. What do you think?
    Last edited by NewD; 2014-12-31 at 04:48 PM.

  15. #2550
    Ian it works both groovy lock plus and lockhtml4 and convergence. What was weird is it didn't work in lockhtml3 or GL non beta

  16. The Following 4 Users Say Thank You to chevymusclecar For This Useful Post:

    <Ian Nicoll/> (2014-12-31), Dacal (2014-12-31), King_O_Hill (2014-12-31), nik1975 (2014-12-31)

  17. #2551
    So I add as seperate js for now is very solid

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

    <Ian Nicoll/> (2014-12-31), Dacal (2014-12-31), nik1975 (2014-12-31)

  19. #2552
    I'm addicted to jailbreak lostinthemes's Avatar
    Join Date
    Dec 2010
    Location
    Istanbul, Turkey
    Posts
    596
    Thanks
    7,098
    Thanked 478 Times in 228 Posts

    Wish you a very happy new year...
    Wish we all stay in this thread for the whole year, like the passed ones...

  20. The Following 2 Users Say Thank You to lostinthemes For This Useful Post:

    Dacal (2014-12-31), jawonder (2014-12-31)

  21. #2553
    It's 12:20am here, Happy New Year to you all.

  22. The Following 8 Users Say Thank You to <Ian Nicoll/> For This Useful Post:

    chevymusclecar (2014-12-31), jawonder (2014-12-31), King_O_Hill (2014-12-31), kristatos (2014-12-31), lostinthemes (2014-12-31), Marty McFly (2015-01-01), Mike2130 (2015-01-01), nik1975 (2014-12-31)

  23. #2554
    Happy new year pal !!!!


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

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

    <Ian Nicoll/> (2014-12-31), jawonder (2014-12-31), King_O_Hill (2014-12-31), Marty McFly (2015-01-01), SHARON1O (2014-12-31)

  25. #2555
    Code Dependent NewD's Avatar
    Join Date
    Jan 2012
    Location
    Northeast US
    Posts
    5,712
    Thanks
    8,338
    Thanked 16,467 Times in 7,697 Posts

    Quote Originally Posted by chevymusclecar View Post
    So I add as seperate js for now is very solid
    Do you write any autosense code, Chevy - or do we just instruct people to us one Main.js or the other? What's REALLY strange is that Jake's
    Code:
    if (typeof groovyAPI != 'undefined')  {
    ..should have worked to sense GL non beta AND LockHTML 3.

    Dacal - do you have any understanding of why that code would not have also allowed for the widgets to work in original GL and LH3?
    Here's the whole new DUAL mode code sequence in Chevy's and my new base code that allows for sensing of using GL+ (WKWebView) enhancement or non-enhanced.. It works for GL+(WK), Convergence (UI) and LH4(UI) but not GL(original)(UI) or LH3 (UI).

    Code:
    var weatherHandler = function(data) {
    obj.x = ...
    obj.y = ...
    ...rest of parsing...
    };
    
    function updateWeather_XML() {
        var file = "widgetweather" + xmlnumber + ".xml";
        if (typeof groovyAPI != 'undefined')  {
            groovyAPI.do ( {read: file }, weatherHandler );
        } else {
        var url;
            if (XML_TEST == true) { url = file; }
            else { url = "file:///private/var/mobile/Documents/" + file; }
        jQuery.get(url, weatherHandler).fail(function () {
        document.getElementById("desc").innerHTML = "No widgetweather.xml file !"; });
        }
        // REINITIALIZE THE TIMER TO NOT LAUNCH MULTIPLE INSTANCES OF THE FUNCTION
        clearTimeout(refreshTimer); 
        refreshTimer = setTimeout(updateWeather_XML, 30*1000);
    }
    Last edited by NewD; 2014-12-31 at 05:38 PM.

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

    Dacal (2014-12-31)

  27. #2556
    Quote Originally Posted by NewdestinyX View Post
    Ian, it occurs to me, why would a person usually need UniAW7 touch events in the iWidget version? I observe that when users run it as an iWidget it's usually as animations only. Maybe I'm missing something… But all of the current touch events would cover up their icons on a springboard page. I wonder if the widget.plist should just be set for a default height of 60 or so. Then if they really want to run the iWidgets version on a page with no icons - they'll see the cut off elements and ask here what they can do to rectify. I wonder if using a default height of 60 would generate less support questions than the current 220px, "my icons are covered" way.. What do you think?
    I always use iWidget on page one with all things & I think many others do to. I also have it in SBHTML but running only the weather walls, so I get the walls on every page plus iWidget with touch events on page 1.

  28. The Following 3 Users Say Thank You to <Ian Nicoll/> For This Useful Post:

    can7 (2014-12-31), King_O_Hill (2014-12-31), NewD (2014-12-31)

  29. #2557
    Quote Originally Posted by NewdestinyX View Post
    Do you write any autosense code, Chevy - or do we just instruct people to us one Main.js or the other? What's REALLY strange is that Jake's
    Code:
    if (typeof groovyAPI != 'undefined')  {
    ..should have worked to sense GL non beta AND LockHTML 3.

    Dacal - do you have any understanding of why that code would not have also allowed for the widgets to work in original GL and LH3?
    Here's the whole new code sequence in Chevy's and my new base code..

    Code:
    var weatherHandler = function(data) {
    obj.x = ...
    obj.y = ...
    ...rest of parsing...
    };
    
    function updateWeather_XML() {
        var file = "widgetweather" + xmlnumber + ".xml";
        if (typeof groovyAPI != 'undefined')  {
            groovyAPI.do ( {read: file }, weatherHandler );
        } else {
        var url;
            if (XML_TEST == true) { url = file; }
            else { url = "file:///private/var/mobile/Documents/" + file; }
        jQuery.get(url, weatherHandler).fail(function () {
        document.getElementById("desc").innerHTML = "No widgetweather.xml file !"; });
        }
        // REINITIALIZE THE TIMER TO NOT LAUNCH MULTIPLE INSTANCES OF THE FUNCTION
        clearTimeout(refreshTimer); 
        refreshTimer = setTimeout(updateWeather_XML, 30*1000);
    }
    Not the time now, i start my happy new year party, but agree. It must works on both. I look tomorrow if i don't have an headache...


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

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

    <Ian Nicoll/> (2014-12-31), King_O_Hill (2014-12-31), Marty McFly (2015-01-01), NewD (2014-12-31)

  31. #2558
    -imageuploadedbymodmyi1420043973.550213.jpg
    happy new year!

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

    <Ian Nicoll/> (2014-12-31), Dacal (2014-12-31), jawonder (2014-12-31), King_O_Hill (2014-12-31), lostinthemes (2014-12-31), nik1975 (2014-12-31), Pibe77 (2014-12-31)

  33. #2559
    Theme Creator Pibe77's Avatar
    Join Date
    Nov 2014
    Location
    Marano di Napoli, Italy
    Posts
    1,410
    Thanks
    4,854
    Thanked 3,572 Times in 984 Posts

    Happy New Year all and thanks very much!!!


    Inviato a vapore dal mio iPhone 6

  34. The Following 5 Users Say Thank You to Pibe77 For This Useful Post:

    <Ian Nicoll/> (2014-12-31), Dacal (2014-12-31), jawonder (2014-12-31), lostinthemes (2014-12-31), SHARON1O (2014-12-31)

  35. #2560
    My iPhone is a Part of Me signori's Avatar
    Join Date
    Oct 2007
    Location
    Toronto
    Posts
    918
    Thanks
    689
    Thanked 758 Times in 397 Posts

    Quote Originally Posted by Ian Nicoll View Post
    Mmm, nobody notice in RC10, Dacal changed some "display:none;/display: block;" to "scale(0,0,0);/scale(1,1,1);" in touch.js, but this has broken the "slide to the second 6hr hourly forecast display".
    I had to put back the "display: none;/display: block;" to get it working again.

    I have been using RC9 all this time till today, and immediately noticed this issue.
    Thanks Ian for pointing this out. I knew something was weird when I couldn't swipe a second time to see the rest of the hourly forecast. I thought maybe the new Groovylock+ had something to do with this.

    Happy New Year. All the best to you and your family.

  36. The Following 2 Users Say Thank You to signori For This Useful Post:

    <Ian Nicoll/> (2014-12-31), lostinthemes (2014-12-31)

Page 128 of 614 FirstFirst ... 2878118126127128129130138178228 ... 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
  •