Compresses a local file to a zip file.
Example - Zip File
function OnStart()
{
var file = "/sdcard/DroidScript/Hello World/Hello World.js";
app.ZipFile( file, file + ".zip" );
app.ShowPopup( "Compressed to " + file + ".zip" )
}
from native import app
def OnStart():
file = "/sdcard/DroidScript/Hello World/Hello World.js"
app.ZipFile( file, file + ".zip" )
app.ShowPopup( "Compressed to " + file + ".zip" )