Data and File Handling Q&A

The following questions are related to handling data and files on the TV.

You can use the FileSystem API to access external USB storage. For more information, see Handling USB Storages and Managing File Operations.

TV
HTV
#usb

Application data is retained when the TV is switched off or the application is updated. All application data is deleted when the application is uninstalled.

TV
HTV
#application data

When an installed application is updated, the local Web storage on the device is unaffected. The local Web storage data is only deleted when the application is uninstalled.

TV
HTV
#web storage

No. The application cache is automatically managed by the platform.

TV
HTV
#application cache

Yes. By storing user login data in local Web storage, you can manage it in the same way as other Web storage data, including deleting it.

TV
HTV
#user login data

No. For security reasons, this behavior cannot be modified. If you want to implement additional behavior when a USB storage is connected, use the Filesystem API. For more information, see Handling USB Storages.

TV
HTV
#file browser
#usb

Make sure you have declared the "filesystem.write" privilege in your "config.xml" file. It is required for writing data to storage.

TV
HTV
#save files