Open Al4He6 opened 3 months ago
https://github.com/DroidScript/Docs/blob/63145db940b0ace9ef88855f7e3a4ec9c6c4576c/files/markup/en/app/GetFileSize.js#L36
Uses + to concatenate number and string, using str works from native import app
def OnStart(): size = app.GetFileSize("/sdcard/") app.Alert(str(size / 1024 )+ " kB")
https://github.com/DroidScript/Docs/blob/63145db940b0ace9ef88855f7e3a4ec9c6c4576c/files/markup/en/app/GetFileSize.js#L36
Uses + to concatenate number and string, using str works from native import app
def OnStart(): size = app.GetFileSize("/sdcard/") app.Alert(str(size / 1024 )+ " kB")