{ I hope I can post templates here ;-) }

{ I hope I can post templates here 😉 }

New “Script-Only”-template uploaded to the wiki:

containing:

– Agenda-load & Agenda-binders : get your Agenda appointments from a $variable.

– OWM-load & OWM-binder : get Open-Weather data from a $variable.

– Gnews-load & Gnews-binder : get Google-news from a $vvariable. (picture and url-linking from script)

– Quick-Theme : ‘full’-version. 

– Loader-script : Somewhat tricky way to load multiple scripts at desktop-load-event. (when stable, I will create library).

– RunOffUI – run your function(s) on one seperate thread.

and ofcourse:

– APIcomm : for text communication from the internet

– IMGcomm : for setting an internet image as your item-background. (this does not use CustomView, because now it will servive a restart and persurve your data-limit).

and more…. please code-review and test-drive. 

 

EDIT: Install with Replace seems to work better than Merge. Do not forget to back-up!

http://www.pierrox.net/android/applications/lightning_launcher/wiki/doku.php?id=templates
]]>

27 Commentsto { I hope I can post templates here ;-) }

  1. Anonymous says:

    < ![CDATA[

    I cannot import templates in the current beta. Can anybody confirm this?

    ]]>

  2. Anonymous says:

    < ![CDATA[

    just tested downloaded template and it works for me on b6

    ]]>

  3. Anonymous says:

    < ![CDATA[

    OK, can anybody on 5.1 confirm this? I already reinstalled lightning, still happens.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Andoid v5.1.1 myself. Hope I did not create an unshareble template.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    I tried it on my nexus 7 that is still running a custom ROM 4.4.4 and all works pretty good (except some script error at first load).


    I not tried on my Oneplus with 5.1.1 ’cause I’m currently running my own template xD but I guess that it will works the same…

    ]]>

  6. Anonymous says:

    < ![CDATA[

    as stated on the wiki: first load does throw some errors. just click OK.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Hmm… It doesn’t work for me. I’ve sent the bug report to pierre, but as he is away ATM I guess I can’t test 4 you.

    ]]>

  8. Anonymous says:

    < ![CDATA[

    pitty, some are based on yours 🙁

    ]]>

  9. Anonymous says:

    < ![CDATA[

    How to import the downloaded zip in lightning? Any special actions needed?


    I get an error toast messagr (latest LL release) when trying to import the template. Import fails completely.

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Jappie Toutenhoofd​ didn’t tried yout template but have a question : How does the 2 app for extra LL permissions works ?

    ]]>

  11. Anonymous says:

    < ![CDATA[

    just install them. they give extra permissions to LL.

    ]]>

  12. Anonymous says:

    < ![CDATA[

    Sounds cool, I will test it later, right now I am testing my new Oneplus 2. I saw that the tasker app colors are not good. Some things are very hard to read. At least now i have some power to do some heavier stuff.

    ]]>

  13. Anonymous says:

    < ![CDATA[

    I can’t install the zip file also. I am on 5.1.1.


    LL crashes.

    ]]>

  14. Anonymous says:

    < ![CDATA[

    I tried it on my Oneplus One with Exodus ROM 5.1.1 and LL crashes also to me…


    But I think that is a problem of all 5.1 devices ’cause it is happened also to my template when beta testers were trying to install it.

    ]]>

  15. Anonymous says:

    < ![CDATA[

    I was able to load it by overwriting instead of merging.



    First tip:


    var key=”owm_forcast_”+i+”_”;


    editor.setString(key+”icon”, s);


    editor.setString(key+”temp”, T);


    editor.setString(key+”main”, M);



    This replaces all these if blocks at the end of owm-binders.


    Edit: And the same can be done for the agenda bindings.


    Edit2: I think you can use it for all the binders.

    ]]>

  16. Anonymous says:

    < ![CDATA[

    2. This should be faster than you current implementation:



    function delayedLoad(scrpt) {


    var exist = LL.getScriptByName(scrpt);


    if (exist === null) {


    alert(scrpt + ” script does not exist.”);


    return;


    }


    eval(“function run(){\n”+exist.getText()+”\n}”);


    run();


    }



    (stolen from TrianguloY​​s FastRunTool)

    ]]>

  17. Anonymous says:

    < ![CDATA[

    Jappie Toutenhoofd I know thay will give more permission to LL I just wanted to know how.. Does thay act like a plugin? Can I have the source code of the apps ?

    ]]>

  18. Anonymous says:

    < ![CDATA[

    Benoît de Chezelles​ these apps are made by Pierre Hébert​

    ]]>

  19. Anonymous says:

    < ![CDATA[

    Lukas Morawietz​


    loader:


    did try eval, but somehow some did not play nice.


    binders:


    I must have been I’ll, while writing that code 😉



    thanks for looking at it.

    ]]>

  20. Anonymous says:

    < ![CDATA[

    Install with Replace seems to work better than Merge. Do not forget to back-up!

    ]]>

  21. Anonymous says:

    < ![CDATA[

    Jappie Toutenhoofd strange question, but I can’t figure out how to change Hoofddorp name on the 2 text fields. I know they are a variable extracted somewhere in the script or so. I can’t figure out where. I changed the village name in script so the correct data temperature is collected. Where to change the text fields?

    ]]>

  22. Anonymous says:

    < ![CDATA[

    Evelien Wijbenga​ hhhm, did change logic last minute.


    in “owm-load”:


    – delete the “//” in the line UNDER ‘reset current tag to select new ‘


    – restart launcher


    – wait litle


    – put the “//’ back.

    ]]>

  23. Anonymous says:

    < ![CDATA[

    same kind of logic to select new agenda’s in agenda-load.

    ]]>

  24. Anonymous says:

    < ![CDATA[

    Thanks worked Jappie Toutenhoofd​

    ]]>

  25. Anonymous says:

    < ![CDATA[

    ping @ Pierre Hébert – Welcome back


    Install with “Replace” seems to work with my template made in v12.6b5


    But with “Merge” most (all?) people could not install.


    ]]>

  26. Anonymous says:

    < ![CDATA[

    Thanks for pinging, I will have a look at this

    ]]>

  27. Anonymous says:

    < ![CDATA[

    – backup your current template.


    – find where it got saved. (hint: sdcard/LightningLaucher)


    – put MY template in the same directory.


    – restore my template in LL. (it should show up).



    As noted on the wiki: it shows some errors on startup.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *