Data in storage and in the file system home directory should be backed up. On Saturday, December 5, 2020 at 1:16:12 PM UTC+2 P5music wrote:
> 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/231649b4-da24-4a12-ba0f-593e5124b8a9n%40googlegroups.com.
