How can we use :

How can we use :

public String loadRawResource (String pkg, String name) from the LL class?

]]>
« (Previous Post)
(Next Post) »

One Commentto How can we use :

  1. Anonymous says:

    < ![CDATA[

    This way:


    var text = LL.loadRawResource(MY_PKG, id);



    Where MY_PKG is the packageName of your APK and id is the name without extension of a text file you can put in the res/raw folder.


    An example can be found in the Sketch or Clock samples (links at the bottom of http://www.pierrox.net/cmsms/applications/lightning-launcher/scripting.html)

    ]]>

Leave a Reply

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