ReadFile

The ReadFile function reads a text file from internal or external file storage.

 txt = app.ReadFile( fileName );

Example

function OnStart()
{
  txt = app.ReadFile( "/sdcard/IOIOScript/Img/Page.htm" );
  app.ShowPopup( txt );
}
  Copy   Copy All    Run