My CodenameOne app is intended for iOS and I want that some private app 
files are automatically backupped, like this:
iOS Data Storage Guidelines - Apple Developer - Apple Developer 
<https://developer.apple.com/icloud/documentation/data-storage/index.html>
I would like to know if this kind of code:

public void writeFile() throws IOException {
try(OutputStream os = Storage.getInstance().createOutputStream("/"+
APP_DATA_FILE_NAME);) 
{
os.write(appDataText.getBytes("UTF-8"));
os.flush();
os.close();
} catch(IOException err) {
System.out.println("write err");
}
}
is able to leverage the auto-backup feature, that is, the folder the file 
is written into is backupped.
Thanks in advance

-- 
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 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/2feca21f-b04c-4562-9a66-11ee7d205f6cn%40googlegroups.com.

Reply via email to