Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Saving new or existing files require some important actions on the host application side especially where to load and save the files on the device. Some certain locations require special permissions to be set in the manifest. Please find more information about this in the official Android documentation ( e.g. getFilesDir() , getExternalFilesDir(java.lang.String) ). The saving samples always write files to the app specific folders.
Note: Using folders without setting up proper permissions in the manifest may lead to a crash.

...

The sample module brings a custom save command _CUSTOMSAVE and a custom close command _CUSTOMCLOSE. The custom save command shows how saving a new file can be initiated from the

Status
colourYellow
titleC++
part but enables way more customizing potential. The custom close command shows how a document can be closed without forcing the user to save his changes ( but this might produce cause data loss! ).