Page 39 of 68 FirstFirst ... 29373839404149 ... LastLast
Results 761 to 780 of 1343

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


Thread: GroovyLock (HTML LockScreen Platform)

  1. #761
    It's still a beta, and needs sorting.

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0

  2. #762

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

    Boots (2014-08-09), Fattone66 (2014-08-09), jawonder (2014-08-09), King_O_Hill (2014-08-09), kristatos (2014-08-10), lostinthemes (2014-08-10), MamaJaay (2014-08-09), oldskoolsk8r (2014-08-09), RKO1195 (2014-08-11), Simon (2014-08-09)

  4. #763
    Evil Genius Developer GroovyCarrot's Avatar
    Join Date
    Jan 2012
    Location
    Liverpool, United Kingdom
    Posts
    563
    Thanks
    101
    Thanked 2,237 Times in 483 Posts

    So since the idea of being able to communicate with GroovyLock from JavaScript was cool - I decided to separate the code into a JavaScript-objC bridge that works on all webview's on SpringBoard; so that's SBHTML, iWidgets, GroovyLock, LockHTML3.

    groovyAPI 1.0.0: https://www.dropbox.com/s/xwebxh7eam...yAPI-1.0.0.deb

    So literally all you need to do is install this and then in JavaScript you can access the groovyAPI object, I do need to document this properly really but most of the functions implemented are rather simple. This is a full list of examples:
    Code:
    // Launch app should work fine from SpringBoard but not the lockscreen
    groovyAPI.launchApp("com.apple.mobilemail");
    
    // LockScreen dim timer modifications:
        .cancelDimTimer();
        .resetDimTimer();
        .preventDimFor(20.0);
    
    .unlockPhone();
    .attemptUnlockWithPasscode("1234");
    .showNotificationCenter();
    .showAppSwitcher();
    .getWeatherData(function(data) {
        // data is a J
    });
    .getMemoryUsed();
    .getTotalMemory();
    
    // Toggles:
        .wiFiEnabled();
        .setWiFiEnabled(true);
        .locationServicesEnabled();
        .setLocationServicesEnabled(true);
        .bluetoothEnabled();
        .setBluetoothEnabled(true);
    You can check if the user has groovyAPI installed with:
    Code:
    if(window.groovyAPI) {
        // groovyAPI is installed and you are free to use any of the implemented functions
    }
    When this goes on cydia with the GL update when it's stable, you can just add it as a dependency for your HTML/JavaScript theme to automatically install it with your project.

    So here's a LockBackground.html example that displays memory usage and updates when tapped:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <html>
    
    <head>
    	<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
        <style type="text/css">
            *{margin:0;padding:0;}
            body{background:#ccc}
            #used{font-size:32px;font-family:Helvetica;}
            #total{font-size:32px;font-family:Helvetica;}
        </style>
    </head>
    <body>
        <div id="text"></div>
        <script type="text/javascript">
        function updateMemoryDisplay() {
            // Check if groovyAPI is installed
            if(window.groovyAPI) {
                 // Get the memory used and total memory from the API:
                 document.getElementById("used").innerHTML = groovyAPI.getMemoryUsed()/1000000 + " MB";
                 document.getElementById("total").innerHTML = groovyAPI.getTotalMemory()/1000000 + " MB";
            }
        }
        
        $(document).ready(function() {
            updateMemoryDisplay();
        });
    </script>
    </head>
    
    <body bgcolor="Transparent">
        <div id="out" style="width:100%;height:100%;padding-top:50px;text-align:center;" onclick="updateMemoryDisplay();">
            <div>Memory used:</div>
            <div id="used">--</div>
            <div>of</div>
            <div id="total">--</div>
        </div>
    </body>
    </html>
    I am planning on adding more if anyone has any particular suggestions
    Last edited by GroovyCarrot; 2014-08-10 at 06:50 PM.

  5. The Following 13 Users Say Thank You to GroovyCarrot For This Useful Post:

    2y2d (2014-08-10), Boots (2014-08-10), chevymusclecar (2014-08-10), jawonder (2014-08-10), King_O_Hill (2014-08-11), Krima (2014-08-10), kristatos (2014-08-11), NewD (2014-08-10), oldskoolsk8r (2014-08-10), RKO1195 (2014-08-11), Simon (2014-08-10), thazsar (2014-08-10), tito12 (2014-08-10)

  6. #764
    Hi!!
    Can someone explain me why I am not able to installl the 1.0.0 version??(With iFile)
    I alwasy become an error.....DS.Store ...bla bla bla...
    But the other versions I can Install without any problem...
    WHY????

  7. #765
    Default GroovyLock (HTML LockScreen Platform)
    When I'm on the lockscreen and open the control center to access lets say the calculator app, it will open, but if I then close it my Ipod boots in safe mode! Why is this happening?

  8. #766
    Evil Genius Developer GroovyCarrot's Avatar
    Join Date
    Jan 2012
    Location
    Liverpool, United Kingdom
    Posts
    563
    Thanks
    101
    Thanked 2,237 Times in 483 Posts

    Quote Originally Posted by valica View Post
    Hi!!
    Can someone explain me why I am not able to installl the 1.0.0 version??(With iFile)
    I alwasy become an error.....DS.Store ...bla bla bla...
    But the other versions I can Install without any problem...
    WHY????
    You mean for the tweak I just posted above?

    Quote Originally Posted by TrickKiste View Post
    When I'm on the lockscreen and open the control center to access lets say the calculator app, it will open, but if I then close it my Ipod boots in safe mode! Why is this happening?
    Hmm is the safe mode instant or after a short while?

  9. #767
    No , also for the old one...but also that one above...

  10. #768
    Evil Genius Developer GroovyCarrot's Avatar
    Join Date
    Jan 2012
    Location
    Liverpool, United Kingdom
    Posts
    563
    Thanks
    101
    Thanked 2,237 Times in 483 Posts

    Quote Originally Posted by valica View Post
    No , also for the old one...but also that one above...
    I've fixed it I think should post an update tomorrow for testing

  11. The Following 2 Users Say Thank You to GroovyCarrot For This Useful Post:

    King_O_Hill (2014-08-12), valica (2014-08-12)

  12. #769
    Evil Genius Developer GroovyCarrot's Avatar
    Join Date
    Jan 2012
    Location
    Liverpool, United Kingdom
    Posts
    563
    Thanks
    101
    Thanked 2,237 Times in 483 Posts

    Okay here we go again, from experience this is extremely stable - please remember that heavy lockscreens are probably just doomed to crash on iOS 7, but I've not woken up with my phone in safe mode the last 2 nights, or even had a GroovyLock related safe mode.

    GroovyLock 1.7.0 https://www.dropbox.com/s/rm8t6yoyqt...Lock-1.7.0.deb

    All JavaScript communication was isolated to the groovyAPI tweak which is far better and I do have a 1.0.1 version coming soon after I've fixed a potential bug with one of the functions. Here's the dependancy current version:

    groovyAPI 1.0.1 https://www.dropbox.com/s/v5nr69spnr...yAPI-1.0.1.deb
    Last edited by GroovyCarrot; 2014-08-12 at 01:39 PM.

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

    2y2d (2014-08-12), Alfroggy (2014-08-22), j0k3r (2014-08-15), jawonder (2014-08-12), King_O_Hill (2014-08-12), kristatos (2014-08-12), lostinthemes (2014-08-19), NewD (2014-08-12), P0R7ER (2014-08-12), RKO1195 (2014-08-12), simer_cool (2014-08-12), Splatty79 (2014-08-12), valica (2014-08-12)

  14. #770
    iPhoneaholic Splatty79's Avatar
    Join Date
    Jan 2012
    Location
    Melbourne, Australia
    Posts
    499
    Thanks
    434
    Thanked 711 Times in 235 Posts

    Hey mate any chance to look at compatibility with lockinfo7 yet?

  15. #771
    Evil Genius Developer GroovyCarrot's Avatar
    Join Date
    Jan 2012
    Location
    Liverpool, United Kingdom
    Posts
    563
    Thanks
    101
    Thanked 2,237 Times in 483 Posts

    Quote Originally Posted by Splatty79 View Post
    Hey mate any chance to look at compatibility with lockinfo7 yet?
    If you try 1.7.0 it should work in theory

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

    NewD (2014-08-12), RKO1195 (2014-08-12), Splatty79 (2014-08-12)

  17. #772
    Default GroovyLock (HTML LockScreen Platform)
    ok past couple days have given me message about a memory crash & wiping my GL...what exactly is this from? just want to understand so I know what I'm working with...for the past few days only been running a simple day/time widget & no passcode or touch on (would like to say that it ran great WITH passcode on)
    Last edited by Boots; 2014-08-12 at 06:28 PM.

  18. #773
    I'm getting 256 when running installer on 1.7... ?

  19. #774
    Code Dependent NewD's Avatar
    Join Date
    Jan 2012
    Location
    Northeast US
    Posts
    5,733
    Thanks
    8,351
    Thanked 16,485 Times in 7,705 Posts

    Quote Originally Posted by BootsBrown View Post
    ok past couple days have given me message about a memory crash & wiping my GL...what exactly is this from? just want to understand so I know what I'm working with...for the past few days only been running a simple day/time widget & no passcode or touch on (would like to say that it ran great WITH passcode on)
    I'm able to run the most recent betas of 1.7 for several hours WITH PASSCODE LOCK ON and with heavy animation - BUT it EVENTUALLY crashes. So for those of you that run light animation - you may have your first LockScreen player that works with Apple Passcode Lock on. AMAZING job, Jake!

    Just because I always want ZERO crashing, EVER, on my phone.. I'm still running with Passcode Lock off. Still love me my high animation on LS and SB - and several iWidgets.. So I'm happy to stay with passcode lock off forever.. Bummer I can't use my TouchID. But it is what it is.

    All in all THANKS Jake!! And I'm excited about this new standalone tweak's potential too!! Just starting to play with it now..

  20. #775
    Got it had to load API first

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

    King_O_Hill (2014-08-12), nfsonofgod (2014-08-14)

  22. #776
    Evil Genius Developer GroovyCarrot's Avatar
    Join Date
    Jan 2012
    Location
    Liverpool, United Kingdom
    Posts
    563
    Thanks
    101
    Thanked 2,237 Times in 483 Posts

    Quote Originally Posted by chevymusclecar View Post
    I'm getting 256 when running installer on 1.7... ?
    It depends on the groovyAPI library I put together available here: https://www.dropbox.com/s/v5nr69spnr...yAPI-1.0.1.deb

    Also guys feel free to check out the groovyAPI Documentation, however it is unfinished and rather quickly thrown together today. I will add to it when I add new functions and should improve the level of detail, there's some nice examples in there though

    I'm also going to submit 1.7.0 to cydia along with the groovyAPI 1.0.1 library, thanks for testing guys. This one is very stable

  23. The Following 6 Users Say Thank You to GroovyCarrot For This Useful Post:

    Boots (2014-08-12), chevymusclecar (2014-08-12), King_O_Hill (2014-08-12), lostinthemes (2014-08-19), nfsonofgod (2014-08-14), RKO1195 (2014-08-13)

  24. #777
    I have to ask...what lockscreens are people running to crash GL? It is rock solid for me - has been since 1.5.x - and I use TouchID/pass code.

    Thanks for the updates Groovy. Some awesome features. API docs will be mega useful too.

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

    King_O_Hill (2014-08-12)

  26. #778
    Why does Cydia now 1.7.0 always want to uninstall GroovyLock every Time I want to install something else???

  27. #779
    Superbad Modder-ator Simon's Avatar
    Join Date
    Nov 2007
    Location
    Bermuda
    Posts
    48,878
    Thanks
    8,108
    Thanked 17,646 Times in 8,026 Posts

    Quote Originally Posted by valica View Post
    Why does Cydia now 1.7.0 always want to uninstall GroovyLock every Time I want to install something else???
    Did you install the groovyAPI 1.0.1 as well yet?

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

    King_O_Hill (2014-08-12), nfsonofgod (2014-08-14), valica (2014-08-12)

  29. #780
    no...Now I did it and Cydia is not asking anymore to remove it !!

    THX!!!

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

    Simon (2014-08-12)

Page 39 of 68 FirstFirst ... 29373839404149 ... 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
  •