FileExists

The FileExists function checks if a file exists in internal or exernal file storage.

 exists = app.FileExists( fileName );

Example

function OnStart()
{
  exists = app.FileExists( "/sdcard/wftest.txt" );
  app.ShowPopup( exists );
}
  Copy   Copy All    Run