Managing Application Files
Managing Application Files
For managing files, applications can use the file input/output system supported by the Samsung TV application engine to store data while they are running and restoring them at any time.
All applications perform file input/output operations in a common area. For this reason, files used in different applications might have the same name. To prevent this, a directory using application ID (curWidget.id) must be created, and the file in this directory is used. If multiple applications need to share data, they do it through a file path that they share.
File input/output operations are performed by creating a file system object and calling the interface of the object.
For more information, see Filesystem.