Hi,
I trying to share my zip file for which I used Display.getInstance().share() method, the code I have written is as
String root= FileSystemStorage.getInstance().getAppHomePath();
String out= root + textField.getText() + ".zip";
if(Display.getInstance().isNativeShareSupported()) {
Display.getInstance().share(out, null, "application/zip");
}
in this case the zip file isnot attaching, it just gives me filename or the file path. I want to attach the zip file which I created. How I can achieve this ?
I am able to attach zip file with mail functionality, but I want to share so that user get free access to save that file.