Back

WriteFile

WriteFile.

  app.WriteFile( file, text, mode, encoding )

Example - Example



function OnStart()
{
    app.WriteFile( "/sdcard/wftest.txt", "Hello", "Append" );
}
    Copy     Copy All       Run      

string: path to file or folder ( "/absolute/..." or "relative/..." )
string
string: "Append" or "ASCII"
unknown