How can we use :
How can we use :
public String loadRawResource (String pkg, String name) from the LL class?
]]>
< ![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)
]]>