Z
Z
zugzug2014-09-07 16:33:32
Tizen
zugzug, 2014-09-07 16:33:32

Where does Tizen OS store files created in wgt app?

Hello.
I develop and debug a web application in Tizen IDE with built-in emulator toolkits. The question arose - how to get to the file on the emulator device (the file was created using Tizen's File API in the application code)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zugzug, 2014-09-07
@zugzug

The question is removed. Wrote to the folder of the "virtual" file system - documents as from the example

$(document).ready(function() { 
    tizen.filesystem.resolve(
     'documents', 
     function(dir){
       documentsDir = dir;
       dir.listFiles(onsuccess, onerror);
     }, function(e){
       console.log("Error" + e.message);
     }, "rw"
   );
  });

The documents folder on the device is defined as:
opt/usr/media/Documents/
My file was there.

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question