Managing Storage on the Android Device

Media Files,Layouts and other metadata is downloaded from the CMS onto each Player to allow local playback in the most efficient way and to allow for offline usage. Xibo for Android will automatically manage the files stored on the local library and automatically remove files that are no longer needed.

Library Location

Files are stored according to 2 settings:

  • Use Public Storage?
  • Storage Options

If Use Public Storage? is unchecked then the files will be stored on the internal device storage. If checked, they will be stored on the internal device public storage (if available), it is also recommended to explicitly specify a storage location using the storage options.

In all cases, the files will be in /data/data/

Rules for keeping or deleting a file

The CMS informs Xibo for Android with which files it needs for the next “N” days of playback (where “N” days is defined in the CMS settings). All of the files in this list will be kept in the library. Once a file is removed from this list it will remain in the library for 30 days after which it will be automatically deleted.

You can change the “N” parameter in Settings -> General -> Send files in advance? This setting is expressed in seconds and should be adjusted carefully as it directly affects the size of the local player library and the amount of work the CMS has to do with each collection interval. We recommend keeping the default setting unless there is a specific reason to change it.

Running out of storage Since Xibo for Android 1.6/1.7 R38, the application will aggressively delete files that are no longer contained in the list of required files if the total free storage on the device is below 10%. The Player will also decline to download new files if there is not enough storage on the device to fully store the downloaded file.

The percentage of used disk space is based on the storage for the Library Location.