How to reference web app root folder for storing files

How to reference web app root folder for storing files

BY 09 Jul 2013 Web Application Development

Hello,

I know how to use tizen.filesystem.resolve() to access public folders like ‘documents’ but I want to store my files in a folder that is local to my app.

How should I reference a folder located at the root of my app to create a file at ‘app root folder/data/mytextfile.txt’?

Thank you for your help.

Written by