WriteFile

The WriteFile function writes a text file to internal or exernal file storage.

 app.WriteFile( fileName, text );

Example

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