How can I send a folder with whatsapp or gmail?

568 views
Skip to first unread message

omer....@gmail.com

unread,
Mar 20, 2019, 3:40:27 AM3/20/19
to DroidScript
How can I send a folder with whatsapp or gmail?
I tried to use the SendFile() function, but it didn't work.

Kallikratidas

unread,
Mar 20, 2019, 12:21:54 PM3/20/19
to DroidScript
I personally know that you are unable to send a folder by gmail or WhatsApp.

I suggest you to play with the app.ZipFolder(folderPathh, pathToSaveZip);

//If you want the zip file conversion no accessible, you can save it in the app folder.

var fld = app.GetPrivateFolder("zipped");
var path = "/sdcard/MyFolder";
var pathName = path.substring(path.lastIndexOf("/")+1,path.length);
if(!app.FolderExists(fld))
app.MakeFolder(fld);
app.ZipFolder(path, fld+"/"+pathName);

Reply all
Reply to author
Forward
0 new messages