Data and File Handling
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.
#usb storage #filesystem api
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.
#application data #update #uninstall
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.
Note When updating an application test build through the Tizen Studio, the previous build is uninstalled before installing the new build. Consequently, the local Web storage data is deleted.
#web storage #uninstall #tizen studio #testing
No. The application cache is automatically managed by the platform.
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.
#web storage #user login data #uninstall
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.
#file browser #usb storage #filesystem api
Make sure you have declared the "filesystem.write" privilege in your "config.xml" file. It is required for writing data to storage.
#privilege #config xml #file system write