I have been working on an app for Tizen in order to display it in Tizen TVs such as SamsungTV. This app has been developed using JavaScript. I have been able to make it work mostly okay, but one of the core functionalities revolves in being able to cache some images and .txt / .json files in the storage of the device. For this, I have studied the FileSystem API, but I think I’m missing something.
I have tried multiple functions related to tizen.filesystem but they don’t work. I explain: while I can access the functions, it appears as if I don’t… have any kind of storage? For example, I have used
/* Success event handler */
function checkCorruptedRemovableDrives(storages) {
console.log(storages.length);
}
/* Search for the storages */
tizen.filesystem.listStorages(checkCorruptedRemovableDrives);
And this returns me a 0. I have also tried to use tizen.filesystem.resolve, returning me an error similar to “Cannot read property ‘replace’ of undefined” or something similar. I also have tried to access the files in order to check the structure through the Tizen Studio Device Manager, but also dead end. The File Explorer didn’t show any files, folders, directories…
Problem manipulating file system
Hello.
I have been working on an app for Tizen in order to display it in Tizen TVs such as SamsungTV. This app has been developed using JavaScript. I have been able to make it work mostly okay, but one of the core functionalities revolves in being able to cache some images and .txt / .json files in the storage of the device. For this, I have studied the FileSystem API, but I think I’m missing something.
I have tried multiple functions related to tizen.filesystem but they don’t work. I explain: while I can access the functions, it appears as if I don’t… have any kind of storage? For example, I have used
And this returns me a 0. I have also tried to use tizen.filesystem.resolve, returning me an error similar to “Cannot read property ‘replace’ of undefined” or something similar. I also have tried to access the files in order to check the structure through the Tizen Studio Device Manager, but also dead end. The File Explorer didn’t show any files, folders, directories…
So I’m really stumped.
Oh, also, this is my config.xml file.
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio