Example - Redirect Assets
function OnStart()
{
app.RedirectAssets("/sdcard/DroidScript/Hello World/");
lay = app.CreateLayout( "Linear", "VCenter,FillXY" );
img = app.CreateImage( "Img/Hello World.png" );
lay.AddChild( img );
app.AddLayout( lay );
}
from native import app
def OnStart():
app.RedirectAssets("/sdcard/DroidScript/Hello World/")
lay = app.CreateLayout("Linear", "VCenter,FillXY")
img = app.CreateImage("Img/Hello World.png")
lay.AddChild(img)
app.AddLayout(lay)