Thanks shai for reply.. I have tried "fs.mkdir(fs.getAppHomePath());" like 
below but still i'm getting  

> file:///data/data/com.engravsystems.emqim/files//MyFileName.pdf not found ..

here is the code :

  FileSystemStorage fs = FileSystemStorage.getInstance();

                    try {


                        OutputStream os = 
fs.openOutputStream(fs.getAppHomePath() + "MyFileName.pdf");
                    } catch (IOException e) {

On Tuesday, February 13, 2018 at 10:45:10 AM UTC+5:30, Shai Almog wrote:
> I think your code is correct. I think that app home might not exist which 
> seems to me like an omission on our part. 
> Try 
> fs.mkdir(fs.getAppHomePath());

You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to